window.__require = function t(e, o, n) {
    function i(r, s) {
        if (!o[r]) {
            if (!e[r]) {
                var c = r.split("/");
                if (c = c[c.length - 1], !e[c]) {
                    var l = "function" == typeof __require && __require;
                    if (!s && l) return l(c, !0);
                    if (a) return a(c, !0);
                    throw new Error("Cannot find module '" + r + "'")
                }
                r = c
            }
            var d = o[r] = {
                exports: {}
            };
            e[r][0].call(d.exports,
            function(t) {
                return i(e[r][1][t] || t)
            },
            d, d.exports, t, e, o, n)
        }
        return o[r].exports
    }
    for (var a = "function" == typeof __require && __require,
    r = 0; r < n.length; r++) i(n[r]);
    return i
} ({
    "4399AdManager": [function(t, e) {
        "use strict";
        cc._RF.push(e, "87983ZIEk9Lh63feniBtGVg", "4399AdManager");
        var o = t("BaseManager");
        cc.Class({
            extends: o,
            ctor: function() {
                this.videoAdCall = null
            },
            initSDK: function() {
                this.myAdChannel = "m4399"
            },
            showVideo: function(t) {
                if (window.h5api) {
                    this.videoAdCall = t;
                    var e = this;
                    h5api.canPlayAd() ? h5api.playAd(function(t) {
                        console.log("\u4ee3\u7801:" + t.code + ",\u6d88\u606f:" + t.message),
                        1e4 === t.code ? console.log("\u5f00\u59cb\u64ad\u653e") : 10001 === t.code ? (e.videoAdCall(1), console.log("\u64ad\u653e\u7ed3\u675f")) : (cc.adCtl.showMyToast("\u65e0\u89c6\u9891\u5e7f\u544a"), console.log("\u5e7f\u544a\u5f02\u5e38"))
                    }) : cc.adCtl.showMyToast("\u4eca\u65e5\u5e7f\u544a\u6b21\u6570\u5df2\u7528\u5b8c\uff0c\u8bf7\u660e\u5929\u7ee7\u7eed")
                }
            }
        }),
        cc._RF.pop()
    },
    {
        BaseManager: "BaseManager"
    }],
    ActorManager: [function(t, e, o) {
        "use strict";
        cc._RF.push(e, "db016tRhT5APIksdPNegF2N", "ActorManager"),
        Object.defineProperty(o, "__esModule", {
            value: !0
        });
        var n = t("../data/weaponConfig"),
        i = t("../utils/Emitter"),
        a = t("../view/gameui/hitBlinkEffect"),
        r = t("../utils/myConfigManager"),
        s = t("../utils/GameManager"),
        c = t("./ResManager"),
        l = t("../data/enemyInfoEnum"),
        d = t("../utils/AudioMgr"),
        u = t("../skill/SuitProSkill"),
        h = cc._decorator,
        p = h.ccclass,
        f = h.property,
        m = function(t) {
            function e() {
                var e = null !== t && t.apply(this, arguments) || this;
                return e.ActorNode = null,
                e.CameraNode = null,
                e.HpBarNode = null,
                e.shieldNode = null,
                e.reviveNode = null,
                e.restoreNode = null,
                e.dodgeHitNode = null,
                e.buffNode = null,
                e.skill6NodeList = [],
                e._playState = l.myPlayerState.none,
                e._myGameControl = null,
                e._spineAct = null,
                e._walkState = null,
                e._hpRoot = null,
                e._isDodge = !1,
                e._left = !1,
                e._right = !1,
                e._moveDir = 0,
                e._faceDir = 1,
                e._speedX = 0,
                e._moveSpeedFixed = 5.5,
                e._maxHp = 100,
                e._curHp = 100,
                e._curHurt = 10,
                e._attackSpeedScale = 1,
                e._attackSpeedBuff = 0,
                e._damageTimes = 0,
                e._hitTimes = 0,
                e._curDefensePro = [],
                e._curBuffList = null,
                e._sustainedList = {},
                e._curHurtReduction = null,
                e._actorSkillBi = 0,
                e._curWeaponId = 0,
                e._isDodging = !1,
                e._isPause = !1,
                e
            }
            return __extends(e, t),
            e.prototype.setIsPause = function(t) {
                this._isPause = t,
                this._spineAct.paused = t,
                this._left = !1,
                this._right = !1
            },
            e.prototype.onLoad = function() {
                this._spineAct = this.ActorNode.getComponentInChildren(sp.Skeleton),
                i.
            default.getInstance().on("onStateControl", this.onLongStateControl, this),
                i.
            default.getInstance().on("onPropetyState", this.onPropetyState, this);
                var t = s.
            default.getInstance().getData("selfEquipSelect");
                this._curWeaponId = 0,
                -1 != t[0] && (this._curWeaponId = t[0].index);
                var e = n.weaponImageInfo[this._curWeaponId + 1 + ""];
                for (var o in e) e.hasOwnProperty(o) && this._spineAct.setAttachment(o, o);
                var a = this;
                this._spineAct.setEventListener(function(t, e) {
                    t.animation && t.animation.name,
                    "AniEnd_Attack" == e.data.name || "Attack_Start" == e.data.name && a._doLaunchBullet()
                }),
                this._getActorProperty(),
                this.schedule(function() {
                    this._isPause || this.isDead() || (this.upBuffTime(), this.upSustainedTime())
                },
                1)
            },
            e.prototype.upBuffTime = function() {
                var t = this,
                e = [];
                for (var o in this._curBuffList) if (Object.prototype.hasOwnProperty.call(this._curBuffList, o)) {
                    var a = this._curBuffList[o];
                    a.curDelay <= 0 ? (a.curDelay = 0, o == n.EquipPropertyEnum.skill3 + "" ? (i.
                default.getInstance().emit("Hourglass_skill", {
                        name: "end"
                    }), i.
                default.getInstance().emit("myGameControl", {
                        name: "HourglassEffect",
                        isAppear: !1,
                        showName: "\u6c99\u6f0f"
                    }), delete this._curBuffList[n.EquipPropertyEnum.skill3]) : o == n.EquipPropertyEnum.buff2 + "" ? a.curContinue > 0 && (this.buffNode.active = !1, this._attackSpeedBuff -= .2, this._attackSpeedBuff < 0 && (this._attackSpeedBuff = 0), this._upAttactSpeed(), a.curContinue = 0) : (a.curContinue--, a.curContinue <= 0 && (a.curDelay = a.comDelay, a.curContinue = a.comContinue, o == n.EquipPropertyEnum.skill13 + "" ? r.
                default.getInstance().getFullProperty()[n.EquipPropertyEnum.skill13] = 1 : o == n.EquipPropertyEnum.skill12 + "" ? this._shieldState(!1) : o == n.EquipPropertyEnum.buff1 + "" && (this.buffNode.active = !1)))) : (a.curDelay--, a.curDelay <= 0 && (o == n.EquipPropertyEnum.skill12 + "" ? this._shieldState(!0) : o == n.EquipPropertyEnum.reviveWD + "" ? (this._shieldState(!1), e.push(o)) : o == n.EquipPropertyEnum.buff1 + "" && (this.buffNode.active = !0)))
                }
                e.forEach(function(e) {
                    delete t._curBuffList[e]
                }),
                e = []
            },
            e.prototype.upSustainedTime = function() {
                var t = this,
                e = [];
                for (var o in this._sustainedList) if (Object.prototype.hasOwnProperty.call(this._sustainedList, o)) {
                    var n = this._sustainedList[o];
                    n.value > 0 && (this.upHpBar(n.value), this.hpEffect(n.value, n.color, n.icon), i.
                default.getInstance().emit("showEffect", {
                        kind: n.icon,
                        pos: this.node.getPosition()
                    })),
                    n.time <= 0 && (l.effectManagerKind.tempt, e.push(o)),
                    n.time--
                }
                e.forEach(function(e) {
                    delete t._sustainedList[e]
                })
            },
            e.prototype.onDestroy = function() {
                i.
            default.getInstance().off("onStateControl", this),
                i.
            default.getInstance().off("onPropetyState", this)
            },
            e.prototype.setGameRoot = function(t) {
                this._myGameControl = t
            },
            e.prototype.doHit = function(t, e) {
                var o = this;
                if (void 0 === e && (e = null), !this.isDead() && !this._isDodging) if (e && (e == l.effectManagerKind.du ? this._sustainedList[e] = {
                    color: new cc.Color(177, 11, 255),
                    value: Math.floor(.33 * t),
                    time: 3,
                    icon: l.effectManagerKind.du
                }: e == l.effectManagerKind.tempt && (this._sustainedList[e] = {
                    color: null,
                    value: 0,
                    time: 3,
                    icon: l.effectManagerKind.tempt
                },
                this._startMove(0))), this._curBuffList.hasOwnProperty(n.EquipPropertyEnum.skill12) && 0 == this._curBuffList[n.EquipPropertyEnum.skill12].curDelay) this.hpEffect(0, cc.Color.WHITE);
                else if (this._curBuffList.hasOwnProperty(n.EquipPropertyEnum.reviveWD)) this.hpEffect(0, cc.Color.WHITE);
                else {
                    this.shieldNode.active && (this.shieldNode.active = !1),
                    this._curDefensePro.forEach(function(t) {
                        100 * Math.random() < t && o.hpEffect(0, cc.Color.WHITE)
                    });
                    var i = t;
                    d.
                default.getInstance().playSFX("actorBeaten"),
                    this._curHurtReduction.once > i ? (this._curHurtReduction.once -= i, i = 0) : (this._curHurtReduction.once > 0 && (i -= this._curHurtReduction.once, this._curHurtReduction.once = 0), (i -= this._curHurtReduction.common) < 0 && (i = 0));
                    var s = this._spineAct.node.getComponent(a.
                default);
                    if (s || (s = this._spineAct.node.addComponent(a.
                default)), s.doHit(1), this.hpEffect(i, cc.Color.WHITE), this._damageTimes++, this._damageTimes % 5 == 0) {
                        var c = r.
                    default.getInstance().getFullProperty();
                        c.hasOwnProperty(n.EquipPropertyEnum.attackedRestore) && (this.reviveEffect(), this._restoreHp(c[n.EquipPropertyEnum.attackedRestore]))
                    }
                    this.upHpBar(i)
                }
            },
            e.prototype.onLongStateControl = function(t) {
                if (!this._isPause) switch (t.nstate) {
                case "left":
                    this._left = 1 == t.isDown,
                    this._updateMove( - 1);
                    break;
                case "right":
                    this._right = 1 == t.isDown,
                    this._updateMove(1);
                    break;
                case "Dodge":
                    this._doDodge();
                    break;
                case "Slow":
                    this._doSlow()
                }
            },
            e.prototype.onPropetyState = function(t) {
                "refresh" == t.name && (this._getActorProperty(), t.isBoss || this.scheduleOnce(function() {
                    this.doAutoAttack()
                },
                1.2))
            },
            e.prototype.enemyDeadCall = function() {
                var t = r.
            default.getInstance().getFullProperty();
                t.hasOwnProperty(n.EquipPropertyEnum.suckBloodPer) && this._restoreHp(Math.round(.02 * this._maxHp)),
                t.hasOwnProperty(n.EquipPropertyEnum.suckBlood) && this._restoreHp(t[n.EquipPropertyEnum.suckBlood])
            },
            e.prototype.initHpBar = function() {
                this._hpRoot = {},
                this._hpRoot.label = this.HpBarNode.getComponentInChildren(cc.Label),
                this._hpRoot.label.string = this._curHp,
                this._hpRoot.ProgressBar = this.HpBarNode.getComponent(cc.ProgressBar),
                this._hpRoot.ProgressBar.progress = this._curHp / this._maxHp
            },
            e.prototype.upHpBar = function(t) {
                if (this._curHp -= t, this._curHp <= 0) {
                    this._curHp = 0;
                    var e = r.
                default.getInstance().getFullProperty();
                    e.hasOwnProperty(n.EquipPropertyEnum.freeOnceDeath) ? (this._restoreHp(Math.floor(.3 * this._maxHp)), delete e[n.EquipPropertyEnum.freeOnceDeath]) : (this._playState = l.myPlayerState.dead, this.node.active = !1, i.
                default.getInstance().emit("myGameControl", {
                        name: "actorDead"
                    }))
                }
                this._hpRoot && (this._hpRoot.label.string = this._curHp, this._hpRoot.ProgressBar.progress = this._curHp / this._maxHp)
            },
            e.prototype.hpEffect = function(t, e, o) {
                void 0 === o && (o = null);
                var n = this.ActorNode.getPosition(),
                a = cc.v2(n.x, n.y + 120);
                i.
            default.getInstance().emit("showblood", {
                    num: t,
                    kind: e,
                    icon: o,
                    startPos: a,
                    dir: -1 * this._faceDir
                })
            },
            e.prototype._restoreHp = function(t) {
                var e = this;
                this.restoreNode.stopAllActions(),
                this.restoreNode.active = !0,
                this.restoreNode.getComponent(dragonBones.ArmatureDisplay).playAnimation("Sprite", 1),
                cc.tween(this.restoreNode).delay(1).call(function() {
                    e.restoreNode.active = !1
                }).start(),
                this._curHp += t,
                this._curHp > this._maxHp && (this._curHp = this._maxHp),
                d.
            default.getInstance().playSFXWithDelay("restoreHp", 3),
                this.upHpBar(0),
                this.hpEffect(t, cc.Color.GREEN)
            },
            e.prototype._getActorProperty = function() {
                var t = this,
                e = r.
            default.getInstance().getFullProperty(),
                o = e[n.EquipPropertyEnum.hurt];
                e.hasOwnProperty(n.EquipPropertyEnum.hurtPer) && (o *= 1 + e[n.EquipPropertyEnum.hurtPer] / 100),
                o = Math.round(o),
                this._curHurt = o;
                var i = e[n.EquipPropertyEnum.hp];
                e.hasOwnProperty(n.EquipPropertyEnum.hpPer) && (i *= 1 + e[n.EquipPropertyEnum.hpPer] / 100),
                i = Math.round(i),
                this._curHp > 0 && (this._curHp += i - this._maxHp),
                this._maxHp = i,
                e.hasOwnProperty(n.EquipPropertyEnum.movingSpeed) && (this._moveSpeedFixed = 5.5 * (1 + e[n.EquipPropertyEnum.movingSpeed] / 100)),
                e.hasOwnProperty(n.EquipPropertyEnum.attackSpeedDefault) && (this._attackSpeedScale = .5 * e[n.EquipPropertyEnum.attackSpeedDefault]),
                e.hasOwnProperty(n.EquipPropertyEnum.attackSpeed) && (this._attackSpeedScale *= 1 + e[n.EquipPropertyEnum.attackSpeed] / 100),
                this._curDefensePro = [],
                e.hasOwnProperty(n.EquipPropertyEnum.block) && this._curDefensePro.push(e[n.EquipPropertyEnum.block]),
                e.hasOwnProperty(n.EquipPropertyEnum.dodge) && this._curDefensePro.push(e[n.EquipPropertyEnum.dodge]),
                this._curHurtReduction = {
                    once: 0,
                    common: 0
                },
                e.hasOwnProperty(n.EquipPropertyEnum.onceShield) && (this._curHurtReduction.once = e[n.EquipPropertyEnum.onceShield]),
                e.hasOwnProperty(n.EquipPropertyEnum.hurtReduction) && (this._curHurtReduction.common = e[n.EquipPropertyEnum.hurtReduction]),
                this.initHpBar(),
                this._actorSkillBi = 0;
                var a = [];
                if (e.hasOwnProperty(n.EquipPropertyEnum.skill1) && (this._actorSkillBi |= 128, a.push(l.skillPrefabKind.Skill_ArrowRain)), e.hasOwnProperty(n.EquipPropertyEnum.skill2) && (this._actorSkillBi |= 64, a.push(l.skillPrefabKind.Skill_FireBall)), e.hasOwnProperty(n.EquipPropertyEnum.skill3) && (this._actorSkillBi |= 32), e.hasOwnProperty(n.EquipPropertyEnum.skill4) && (this._actorSkillBi |= 2), e.hasOwnProperty(n.EquipPropertyEnum.skill7) && (this._actorSkillBi |= 4), e.hasOwnProperty(n.EquipPropertyEnum.skill8) && (this._actorSkillBi |= 8), e.hasOwnProperty(n.EquipPropertyEnum.skill11) && (this._actorSkillBi |= 16), e.hasOwnProperty(n.EquipPropertyEnum.skill9), a.length > 0) {
                    var s = this.node.getComponent(u.
                default);
                    s || (s = this.node.addComponent(u.
                default)),
                    s.setSuitSkill(a)
                }
                if (this.skill6NodeList.forEach(function(o) {
                    o.active = e.hasOwnProperty(n.EquipPropertyEnum.skill6),
                    o.active && (0 == t._curWeaponId ? o.getComponent(cc.Sprite).spriteFrame = c.
                default._instance.bullet_Actor.getSpriteFrame("1s"):
                    o.getComponent(cc.Sprite).spriteFrame = c.
                default._instance.bullet_Actor.getSpriteFrame(t._curWeaponId + "s")),
                    o.getComponent("SkillBase").hitHurt = t._curHurt
                }), this._curBuffList = {},
                e.hasOwnProperty(n.EquipPropertyEnum.buff1) && !this._curBuffList.hasOwnProperty(n.EquipPropertyEnum.buff1) && (this._curBuffList[n.EquipPropertyEnum.buff1] = {
                    curDelay: 30,
                    comDelay: 30,
                    curContinue: 15,
                    comContinue: 15
                }), e.hasOwnProperty(n.EquipPropertyEnum.buff2) && !this._curBuffList.hasOwnProperty(n.EquipPropertyEnum.buff2) && (this._curBuffList[n.EquipPropertyEnum.buff2] = {
                    curDelay: 0,
                    comDelay: 3,
                    curContinue: 3,
                    comContinue: 3
                }), e.hasOwnProperty(n.EquipPropertyEnum.skill12) && !this._curBuffList.hasOwnProperty(n.EquipPropertyEnum.skill12) && (this._curBuffList[n.EquipPropertyEnum.skill12] = {
                    curDelay: 15,
                    comDelay: 15,
                    curContinue: 3,
                    comContinue: 3
                }), e.hasOwnProperty(n.EquipPropertyEnum.skill13) && !this._curBuffList.hasOwnProperty(n.EquipPropertyEnum.skill13) && (this._curBuffList[n.EquipPropertyEnum.skill13] = {
                    curDelay: 15,
                    comDelay: 15,
                    curContinue: 0,
                    comContinue: 0
                }), e.hasOwnProperty(n.EquipPropertyEnum.reviveWD) && (this._curBuffList[n.EquipPropertyEnum.reviveWD] = {
                    curDelay: e[n.EquipPropertyEnum.reviveWD],
                    comDelay: e[n.EquipPropertyEnum.reviveWD],
                    curContinue: 0,
                    comContinue: 0
                },
                this._shieldState(!0), delete r.
            default.getInstance().getFullProperty()[n.EquipPropertyEnum.reviveWD]), e.hasOwnProperty(n.EquipPropertyEnum.onceRestoreBlood)) {
                    var d = this._maxHp * e[n.EquipPropertyEnum.onceRestoreBlood] / 100,
                    h = 1;
                    e.hasOwnProperty(n.EquipPropertyEnum.restoreBlood) && (h = 1 + e[n.EquipPropertyEnum.restoreBlood] / 100),
                    d = Math.floor(d * h),
                    delete e[n.EquipPropertyEnum.onceRestoreBlood],
                    this._restoreHp(d)
                }
            },
            e.prototype._getRealityHurt = function() {
                var t = this._curHurt;
                return this._curBuffList.hasOwnProperty(n.EquipPropertyEnum.buff1) && 0 == this._curBuffList[n.EquipPropertyEnum.buff1].curDelay && (t *= 1.2),
                this._curBuffList.hasOwnProperty(n.EquipPropertyEnum.buff2) && 0 != this._curBuffList[n.EquipPropertyEnum.buff2].curDelay && (t *= 1.2),
                t
            },
            e.prototype._updateMove = function(t) {
                this._left && this._right ? this._startMove(t) : this._left ? this._startMove( - 1) : this._right ? this._startMove(1) : this._startMove(0)
            },
            e.prototype._startMove = function(t) {
                this.isDead() || (this._sustainedList.hasOwnProperty(l.effectManagerKind.tempt) && (t *= -1), this._moveDir !== t && (0 != t && this._changeFaceDir(t), this._moveDir = t, this._updateAnimation()))
            },
            e.prototype._changeFaceDir = function(t) {
                this._faceDir != t && (this.ActorNode.scaleX *= -1, this._faceDir = t)
            },
            e.prototype._updateAnimation = function() {
                0 === this._moveDir ? (this._speedX = 0, this.doAutoAttack(), this._walkState = null) : (this._walkState || (this._playState = l.myPlayerState.moving, this._walkState = this._spineAct.setAnimation(0, "Move", !0)), this._moveDir * this._faceDir > 0 ? this._speedX = this._moveSpeedFixed * this._faceDir: this._speedX = -this._moveSpeedFixed * this._faceDir)
            },
            e.prototype._updatePosition = function() {
                0 === this._speedX || 1 != this._right && 1 != this._left || (this.ActorNode.x += this._speedX, this.ActorNode.x < r.
            default.getInstance()._screenMinX ? this.ActorNode.x = r.
            default.getInstance()._screenMinX:
                this.ActorNode.x > r.
            default.getInstance()._screenMaxX && (this.ActorNode.x = r.
            default.getInstance()._screenMaxX), this.HpBarNode.x = this.ActorNode.x + 30 * this._faceDir)
            },
            e.prototype._doSlow = function() {
                this.isDead() || (this._curBuffList.hasOwnProperty(n.EquipPropertyEnum.buff2) && (0 == this._curBuffList[n.EquipPropertyEnum.buff2].curDelay && (this._attackSpeedBuff += .2, this._upAttactSpeed(), this.buffNode.active = !0), this._curBuffList[n.EquipPropertyEnum.buff2].curDelay = 3, this._curBuffList[n.EquipPropertyEnum.buff2].curContinue = 3), this._curBuffList.hasOwnProperty(n.EquipPropertyEnum.skill3) || (i.
            default.getInstance().emit("Hourglass_skill", {
                    name: "start"
                }), i.
            default.getInstance().emit("myGameControl", {
                    name: "HourglassEffect",
                    isAppear: !0,
                    showName: "\u6c99\u6f0f"
                })), d.
            default.getInstance().playSFX("skill_salou"), this._curBuffList[n.EquipPropertyEnum.skill3] = {
                    curDelay: 3,
                    comDelay: 3,
                    curContinue: 3,
                    comContinue: 3
                })
            },
            e.prototype._doDodge = function() {
                var t = this;
                if (!this.isDead()) {
                    this._isDodging = !0;
                    var e = this.ActorNode.x; (e += 200 * this._faceDir) < r.
                default.getInstance()._screenMinX ? e = r.
                default.getInstance()._screenMinX:
                    e > r.
                default.getInstance()._screenMaxX && (e = r.
                default.getInstance()._screenMaxX),
                    this.ActorNode.x = e,
                    this.HpBarNode.x = e + 30 * this._faceDir;
                    var o = r.
                default.getInstance().getFullProperty().hasOwnProperty(n.EquipPropertyEnum.skill9),
                    i = this.ActorNode.getChildByName("shadow");
                    o && (this.dodgeHitNode.active = !0, this.dodgeHitNode.getComponent(dragonBones.ArmatureDisplay).playAnimation("Sprite", 1), cc.tween(this.dodgeHitNode).delay(1).call(function() {
                        t.dodgeHitNode.active = !1
                    }).start());
                    for (var a = function(e) {
                        var n = cc.instantiate(s._spineAct.node);
                        if (o) {
                            var a = n.getChildByName("dodgeHit");
                            a.getComponent("SkillBase").hitHurt = s._curHurt,
                            a.active = !0
                        }
                        n.x = -50 * e - 50,
                        n.opacity = 100,
                        i.addChild(n),
                        cc.tween(n).to(.2, {
                            x: 0
                        },
                        {
                            easing: "cubicIn"
                        }).call(function() {
                            t._isDodging = !1,
                            n.removeFromParent(),
                            n.destroy()
                        }).start()
                    },
                    s = this, c = 0; c < 4; c++) a(c)
                }
            },
            e.prototype._doLaunchBullet = function() {
                if (!this.isDead()) {
                    d.
                default.getInstance().playSFX("actorHit"),
                    d.
                default.getInstance().playSFX("actorHit2");
                    var t = this._myGameControl.myEnemyManager.getNearEnemy();
                    if (null != t) {
                        t - this.ActorNode.x > 0 ? this._changeFaceDir(1) : this._changeFaceDir( - 1);
                        var e = this.ActorNode.getPosition();
                        if (e.y += 50, this._hitTimes++, this._hitTimes % 10 == 0) {
                            var o = r.
                        default.getInstance().getFullProperty();
                            o.hasOwnProperty(n.EquipPropertyEnum.timesRestore) && this._restoreHp(o[n.EquipPropertyEnum.timesRestore])
                        }
                        var a = 1e3 * Math.random();
                        if (a < 30 && 32 & this._actorSkillBi && this._doSlow(), a < 30 && 64 & this._actorSkillBi) {
                            var s = this.node.getComponent(u.
                        default),
                            c = this._myGameControl.myEnemyManager.getNearEnemy();
                            s.doSkill(this._getRealityHurt(), l.skillPrefabKind.Skill_FireBall, cc.v2(c, 0))
                        }
                        if (a < 30 && 128 & this._actorSkillBi) {
                            s = this.node.getComponent(u.
                        default);
                            var h = this._myGameControl.myEnemyManager.getNearEnemy();
                            s.doSkill(this._getRealityHurt(), l.skillPrefabKind.Skill_ArrowRain, cc.v2(h, 0))
                        }
                        i.
                    default.getInstance().emit("actor_bullet", {
                            startpos: e,
                            dir: this._faceDir,
                            hurt: this._getRealityHurt(),
                            skill: this._actorSkillBi
                        })
                    } else this._curNoEnemy()
                }
            },
            e.prototype.doAutoAttack = function() {
                0 === this._moveDir && (null != this._myGameControl.myEnemyManager.getNearEnemy() ? (this._playState = l.myPlayerState.attack, this._spineAct.setAnimation(0, "Attack", !0).timeScale = this._attackSpeedScale * (1 + this._attackSpeedBuff)) : this._curNoEnemy())
            },
            e.prototype._curNoEnemy = function() {
                this._spineAct.setAnimation(0, "Idle", !0)
            },
            e.prototype._upAttactSpeed = function() {
                var t = this._spineAct.getCurrent(0);
                "Attack" == t.animation.name && (t.timeScale = this._attackSpeedScale * (1 + this._attackSpeedBuff))
            },
            e.prototype._shieldState = function(t) {
                this.shieldNode.curShieldState != t && (this.shieldNode.curShieldState = t, this.shieldNode.stopAllActions(), this.shieldNode.active = !!t)
            },
            e.prototype.isDead = function() {
                return this._playState == l.myPlayerState.dead || this._playState == l.myPlayerState.deading
            },
            e.prototype.actorRevive = function() {
                this._left = !1,
                this._right = !1,
                this.node.active = !0,
                this._restoreHp(Math.floor(this._maxHp)),
                r.
            default.getInstance().addFullProperty(n.EquipPropertyEnum.reviveWD, 3),
                this._playState = l.myPlayerState.none,
                this._getActorProperty(),
                this.reviveEffect()
            },
            e.prototype.reviveEffect = function() {
                var t = this;
                this.reviveNode.stopAllActions(),
                this.reviveNode.active = !0,
                this.reviveNode.getComponent(dragonBones.ArmatureDisplay).playAnimation("Sprite", 1),
                cc.tween(this.reviveNode).delay(1.5).call(function() {
                    t.reviveNode.active = !1
                }).start()
            },
            e.prototype.waitForBoss = function(t) {
                this._left = !1,
                this._right = !1,
                this._updateMove(0),
                this._isPause = t,
                t || this.doAutoAttack()
            },
            e.prototype.lateUpdate = function() {
                this._isPause || this._updatePosition()
            },
            e.prototype.update = function() {},
            __decorate([f(cc.Node)], e.prototype, "ActorNode", void 0),
            __decorate([f(cc.Node)], e.prototype, "CameraNode", void 0),
            __decorate([f(cc.Node)], e.prototype, "HpBarNode", void 0),
            __decorate([f(cc.Node)], e.prototype, "shieldNode", void 0),
            __decorate([f(cc.Node)], e.prototype, "reviveNode", void 0),
            __decorate([f(cc.Node)], e.prototype, "restoreNode", void 0),
            __decorate([f(cc.Node)], e.prototype, "dodgeHitNode", void 0),
            __decorate([f(cc.Node)], e.prototype, "buffNode", void 0),
            __decorate([f([cc.Node])], e.prototype, "skill6NodeList", void 0),
            __decorate([p], e)
        } (cc.Component);
        o.
    default = m,
        cc._RF.pop()
    },
    {
        "../data/enemyInfoEnum": "enemyInfoEnum",
        "../data/weaponConfig": "weaponConfig",
        "../skill/SuitProSkill": "SuitProSkill",
        "../utils/AudioMgr": "AudioMgr",
        "../utils/Emitter": "Emitter",
        "../utils/GameManager": "GameManager",
        "../utils/myConfigManager": "myConfigManager",
        "../view/gameui/hitBlinkEffect": "hitBlinkEffect",
        "./ResManager": "ResManager"
    }],
    AimingSkill: [function(t, e, o) {
        "use strict";
        cc._RF.push(e, "1dddaRbDtRNwrV2HJTPCBN6", "AimingSkill"),
        Object.defineProperty(o, "__esModule", {
            value: !0
        });
        var n = t("../data/enemyInfoEnum"),
        i = t("../utils/Emitter"),
        a = t("./CommonSkill"),
        r = cc._decorator,
        s = r.ccclass,
        c = (r.property,
        function(t) {
            function e() {
                var e = null !== t && t.apply(this, arguments) || this;
                return e._aimingPos = null,
                e._targetObj = null,
                e._warningNode = null,
                e._drawLineNode = null,
                e._start = !1,
                e._callFunc = null,
                e
            }
            return __extends(e, t),
            e.prototype.onLoad = function() {
                this.initSkill(this);
                var t = this.getComponent("BaseEnemy");
                this._targetObj = t._actorRoot.ActorNode,
                this._aimingPos = this.node.getChildByName("aimingPos"),
                this._drawLineNode = this.node.getChildByName("draw").getComponent(cc.Graphics),
                this._drawLineNode.moveTo(this._aimingPos.x, this._aimingPos.y),
                this._warningNode = this.node.getChildByName("warning"),
                this._warningNode.active = !1
            },
            e.prototype.doSkill = function() {
                var t = this,
                e = this,
                o = 2 * Math.random() + 2,
                a = e.getComponent("BaseEnemy")._spineAct;
                return e._aimingPos.stopAllActions(),
                cc.tween(e._aimingPos).call(function() {
                    a.setAnimation(0, "Attack_start", !1)
                }).delay(.3).call(function() {
                    a.setAnimation(0, "Attack_loop", !0),
                    e.readyShoot(o)
                }).delay(o).call(function() {
                    a.setAnimation(0, "Attack_end", !1)
                }).delay(.1).call(function() {
                    var o = t._targetObj.getPosition();
                    i.
                default.getInstance().emit("showEffect", {
                        kind: n.effectManagerKind.boom2,
                        pos: cc.v2(o.x, o.y + 100)
                    }),
                    e.endShoot(),
                    e._callFunc && t._callFunc(n.soldierSkillKind.aimingSkill),
                    e._callFunc = null
                }).start(),
                new Promise(function(t) {
                    e._callFunc = function(e) {
                        t(e)
                    }
                })
            },
            e.prototype.readyShoot = function(t) {
                this._start = !0,
                this._warningNode.active = !0,
                this.upWarningPos();
                var e = [cc.v2(0, 40), cc.v2( - 40, 0), cc.v2(40, 0), cc.v2(0, -40)],
                o = [cc.v2(0, 20), cc.v2( - 20, 0), cc.v2(20, 0), cc.v2(0, -20)];
                this._warningNode.getChildByName("root").children.forEach(function(n, i) {
                    n.setPosition(e[i]),
                    cc.tween(n).to(t, {
                        position: o[i]
                    }).start()
                })
            },
            e.prototype.endShoot = function() {
                this._start = !1,
                this._warningNode.active = !1,
                this._drawLineNode.clear(!1)
            },
            e.prototype.upWarningPos = function() {
                this._warningNode.setPosition(this.getTargetPos())
            },
            e.prototype.getTargetPos = function() {
                return this._warningNode.parent.convertToNodeSpaceAR(this._targetObj.convertToWorldSpaceAR(cc.v2(0, 100)))
            },
            e.prototype.update = function() {
                if (this._start) {
                    this._drawLineNode.clear(!1),
                    this._drawLineNode.moveTo(this._aimingPos.x, this._aimingPos.y),
                    this._drawLineNode.lineTo(this.getTargetPos().x, this.getTargetPos().y),
                    this._drawLineNode.stroke(),
                    this.upWarningPos();
                    var t = this._targetObj.getPosition().sub(this.node.getPosition());
                    Math.abs(t.x) < 200 && (this._callFunc && this._callFunc(n.soldierSkillKind.none), this._callFunc = null, this.endShoot())
                }
            },
            __decorate([s], e)
        } (a.
    default));
        o.
    default = c,
        cc._RF.pop()
    },
    {
        "../data/enemyInfoEnum": "enemyInfoEnum",
        "../utils/Emitter": "Emitter",
        "./CommonSkill": "CommonSkill"
    }],
    ArchersHitSkill: [function(t, e, o) {
        "use strict";
        cc._RF.push(e, "c0f6eFU/JdPQZ406RvTsPgq", "ArchersHitSkill"),
        Object.defineProperty(o, "__esModule", {
            value: !0
        });
        var n = t("../utils/Emitter"),
        i = t("../utils/myConfigManager"),
        a = t("./CommonSkill"),
        r = cc._decorator,
        s = r.ccclass,
        c = r.property,
        l = function(t) {
            function e() {
                var e = null !== t && t.apply(this, arguments) || this;
                return e.launchTimes = 1,
                e
            }
            return __extends(e, t),
            e.prototype.onLoad = function() {
                this.initSkill(this)
            },
            e.prototype.doSkill = function(t, e) {
                var o = this;
                return new Promise(function(t) {
                    for (var a = o.node.getPosition(), r = e, s = 20 * Math.random() + 200, c = 0; c < o.launchTimes; c++) {
                        var l = Math.floor((c + 1) / 2) * (s *= -1);
                        l += 20 * Math.random() - 10;
                        var d = cc.v2(r.x + l, r.y),
                        u = i.
                    default.getInstance().getNameBySkillPrefabKind(o.mySkillprafabSkill);
                        n.
                    default.getInstance().emit("launch_Skill", {
                            name: u,
                            startPos: a,
                            toPos: d,
                            maxDis: o.maxTrigger,
                            hit: o.hurtNum,
                            kind: 1
                        })
                    }
                    t()
                })
            },
            __decorate([c({
                tooltip: "\u6bcf\u6b21\u53d1\u5c04\u4e2a\u6570"
            })], e.prototype, "launchTimes", void 0),
            __decorate([s], e)
        } (a.
    default);
        o.
    default = l,
        cc._RF.pop()
    },
    {
        "../utils/Emitter": "Emitter",
        "../utils/myConfigManager": "myConfigManager",
        "./CommonSkill": "CommonSkill"
    }],
    AudioMgr: [function(t, e, o) {
        "use strict";
        cc._RF.push(e, "0e7d2yHzs9BeL1+gxcVH7zz", "AudioMgr"),
        Object.defineProperty(o, "__esModule", {
            value: !0
        });
        var n = t("./GameManager"),
        i = cc._decorator,
        a = i.ccclass,
        r = (i.property,
        function(t) {
            function e() {
                var e = t.call(this) || this;
                return e.bgmAudioID = -1,
                e.bgmSwitch = 1,
                e.effectSwitch = 1,
                e._shockSwitch = 1,
                e.bgmurl = "sounds/homebg",
                e.bgmVideo = !0,
                e._delayLimit = {},
                e
            }
            var o;
            return __extends(e, t),
            o = e,
            e.getInstance = function() {
                return null == o._instance && (o._instance = new o, o._instance.init(), cc.AudioMgr = o._instance),
                this._instance
            },
            e.prototype.init = function() {
                var t = this,
                e = cc.sys.localStorage.getItem("myGameSound");
                e ? (this.bgmSwitch = parseInt(e), cc.sys.localStorage.setItem("myGameSound", e)) : cc.sys.localStorage.setItem("myGameSound", 1);
                var o = cc.sys.localStorage.getItem("myGameEffect");
                o ? this.effectSwitch = parseInt(o) : cc.sys.localStorage.setItem("myGameEffect", 1);
                var i = cc.sys.localStorage.getItem("myGameshock");
                i ? this._shockSwitch = parseInt(i) : (this._shockSwitch = 1, cc.sys.localStorage.setItem("myGameshock", this._shockSwitch)),
                cc.game.on(cc.game.EVENT_HIDE,
                function() {
                    console.log("cc.audioEngine.stopAll"),
                    n.
                default.getInstance().setOfflineTime(),
                    cc.audioEngine.stopAll()
                }),
                cc.game.on(cc.game.EVENT_SHOW,
                function() {
                    console.log("cc.audioEngine.resumeAll"),
                    1 == t.bgmVideo && t.playBGM(t.bgmurl)
                }),
                1 == this.bgmSwitch && this.playBGM("sounds/homebg")
            },
            e.prototype.playButton = function() {
                this.playSFX("clickBtn")
            },
            e.prototype.playBGM = function(t) {
                if (this.bgmurl = t, 0 != this.bgmSwitch) {
                    this.bgmAudioID >= 0 && (cc.audioEngine.stopMusic(), this.bgmAudioID = -1);
                    var e = this;
                    cc.loader.loadRes(t, cc.AudioClip,
                    function(t, o) {
                        t || (e.bgmAudioID = cc.audioEngine.playMusic(o, !0))
                    })
                }
            },
            e.prototype.playSFX = function(t, e) {
                if (void 0 === e && (e = !1), 0 != this.effectSwitch) {
                    var o = "sounds/" + t;
                    cc.loader.loadRes(o, cc.AudioClip,
                    function(t, o) {
                        t || cc.audioEngine.playEffect(o, e)
                    })
                }
            },
            e.prototype.playSFXWithDelay = function(t, e) {
                var o = Math.floor(.001 * (new Date).getTime());
                o - (this._delayLimit.hasOwnProperty(t) ? this._delayLimit[t] : 0) > e && (this.playSFX(t, !1), this._delayLimit[t] = o)
            },
            e.prototype.playSFXWithBack = function(t, e) {
                void 0 === e && (e = !1);
                var o = "sounds/" + t,
                n = this;
                return new Promise(function(t) {
                    0 != n.effectSwitch ? cc.loader.loadRes(o, cc.AudioClip,
                    function(o, n) {
                        if (o) console.error(o);
                        else {
                            var i = cc.audioEngine.playEffect(n, e);
                            t(i)
                        }
                    }) : t( - 1)
                })
            },
            e.prototype.setbgmSwitch = function(t) {
                this.bgmSwitch != t && (this.bgmSwitch = t, cc.sys.localStorage.setItem("myGameSound", this.bgmSwitch), 1 == this.bgmSwitch ? this.playBGM(this.bgmurl) : cc.audioEngine.stopMusic())
            },
            e.prototype.setEffectSwitch = function(t) {
                this.effectSwitch != t && (this.effectSwitch = t, cc.sys.localStorage.setItem("myGameEffect", this.effectSwitch), 1 == this.effectSwitch || cc.audioEngine.stopAllEffects())
            },
            e.prototype.setShockSwitch = function(t) {
                this._shockSwitch = t,
                cc.sys.localStorage.setItem("myGameshock", this._shockSwitch)
            },
            e.prototype.getbgmSwitch = function() {
                return this.bgmSwitch
            },
            e.prototype.getEffectSwitch = function() {
                return this.effectSwitch
            },
            e.prototype.getShockSwitch = function() {
                return this._shockSwitch
            },
            e.prototype.CtlAndioForAd = function(t) {
                this.bgmVideo = t,
                1 == t ? this.playBGM(this.bgmurl) : cc.audioEngine.pauseAll()
            },
            e.prototype.pauseAll = function() {
                cc.audioEngine.pauseAll()
            },
            e.prototype.resumeAll = function() {
                1 == this.bgmSwitch && cc.audioEngine.resumeAll()
            },
            e.prototype.doShock = function(t) {
                1 == this._shockSwitch && cc.adCtl.doShock(t)
            },
            o = __decorate([a], e)
        } (cc.Component));
        o.
    default = r,
        cc._RF.pop()
    },
    {
        "./GameManager": "GameManager"
    }],
    AwardCardItem: [function(t, e, o) {
        "use strict";
        cc._RF.push(e, "7e736SWskpCvo1RbIfoXEph", "AwardCardItem"),
        Object.defineProperty(o, "__esModule", {
            value: !0
        });
        var n = t("../../control/ResManager"),
        i = t("../../data/shopConfig"),
        a = t("../../utils/myConfigManager"),
        r = cc._decorator,
        s = r.ccclass,
        c = r.property,
        l = function(t) {
            function e() {
                var e = null !== t && t.apply(this, arguments) || this;
                return e.frontNode = null,
                e.backNode = null,
                e._awardData = null,
                e
            }
            return __extends(e, t),
            e.prototype.onLoad = function() {
                this.frontNode.scaleX = 0,
                this.backNode.scaleX = 1,
                this.initView()
            },
            e.prototype.setData = function(t) {
                this._awardData = t
            },
            e.prototype.initView = function() {
                if (this._awardData) {
                    var t = "",
                    e = 1;
                    this._awardData.awardId == i.myAwardEnum.rune ? t = a.
                default.getInstance().getNameByAwardKind(this._awardData.awardId, this._awardData.data.kind) + this._awardData.data.lv: this._awardData.awardId >= i.myAwardEnum.weapon && this._awardData.awardId <= i.myAwardEnum.accessories ? t = a.
                default.getInstance().getNameByAwardKind(this._awardData.awardId) + this._awardData.data.index: (t = a.
                default.getInstance().getNameByAwardKind(this._awardData.awardId), e = this._awardData.num);
                    var o = n.
                default._instance.DropAward.getSpriteFrame(t),
                    r = 100 / o.getRect().width;
                    this.backNode.getChildByName("icon").getComponent(cc.Sprite).spriteFrame = o,
                    this.backNode.getChildByName("icon").scale = r,
                    this.backNode.getChildByName("num").getComponent(cc.Label).string = "x" + e
                }
            },
            e.prototype.selectAni = function(t) {
                1 != this.backNode.scaleX && (cc.tween(this.frontNode).to(t, {
                    scaleX: 0
                }).start(), cc.tween(this.backNode).delay(t).to(t, {
                    scaleX: 1
                }).start())
            },
            e.prototype.turnBack = function(t) {
                cc.tween(this.backNode).to(t, {
                    scaleX: 0
                }).start(),
                cc.tween(this.frontNode).delay(t).to(t, {
                    scaleX: 1
                }).start()
            },
            __decorate([c(cc.Node)], e.prototype, "frontNode", void 0),
            __decorate([c(cc.Node)], e.prototype, "backNode", void 0),
            __decorate([s], e)
        } (cc.Component);
        o.
    default = l,
        cc._RF.pop()
    },
    {
        "../../control/ResManager": "ResManager",
        "../../data/shopConfig": "shopConfig",
        "../../utils/myConfigManager": "myConfigManager"
    }],
    AwardCardNode: [function(t, e, o) {
        "use strict";
        cc._RF.push(e, "70a9dNhvX9KoahrUX0+CLum", "AwardCardNode"),
        Object.defineProperty(o, "__esModule", {
            value: !0
        });
        var n = t("../../utils/AudioMgr"),
        i = t("../../data/shopConfig"),
        a = t("../../utils/myConfigManager"),
        r = t("../../utils/GameManager"),
        s = t("../../data/weaponConfig"),
        c = cc._decorator,
        l = c.ccclass,
        d = c.property,
        u = function(t) {
            function e() {
                var e = null !== t && t.apply(this, arguments) || this;
                return e.cardItem = null,
                e.cardRoot = null,
                e.btnRootNode = [],
                e._curAwardInfoList = [],
                e._isCanTouch = !1,
                e._oldPos = [],
                e._getAwardCount = 0,
                e._closeBackFunc = null,
                e
            }
            return __extends(e, t),
            e.prototype.start = function() {
                this.cardItem.parent = null,
                this.initView()
            },
            e.prototype.setCallBack = function(t) {
                this._closeBackFunc = t
            },
            e.prototype.initView = function() {
                var t = this;
                this.randAwardInfo(),
                this.setBtnState(0);
                var e = [1.2 * -278, 0, 278 * 1.2];
                this._curAwardInfoList.forEach(function(o, n) {
                    var i = cc.instantiate(t.cardItem);
                    i.getComponent("AwardCardItem").setData(o),
                    i.x = e[n],
                    i.setPosition(cc.v2(0, -720)),
                    t.cardRoot.addChild(i),
                    t._oldPos.push(cc.v2(e[n], 0));
                    var a = new cc.Component.EventHandler;
                    a.target = t.node,
                    a.component = "AwardCardNode",
                    a.handler = "selectItemCall",
                    a.customEventData = n + "",
                    cc.tween(i).delay(.1 * n).to(.5, {
                        position: cc.v3(e[n], 0, 0)
                    }).start(),
                    i.addComponent(cc.Button).clickEvents.push(a)
                }),
                this.randPos(this._oldPos)
            },
            e.prototype.doStartLottery = function() {
                n.
            default.getInstance().playButton();
                var t = this;
                cc.adCtl.showVideo(function(e) {
                    1 == e && (t.setBtnState(1), t.cardRoot.children.forEach(function(t) {
                        t.getComponent("AwardCardItem").turnBack(.3)
                    }), t.scheduleOnce(function() {
                        t.shuffleCard()
                    },
                    .6))
                }),
                cc.adCtl.umengEvent("war_cardAward1")
            },
            e.prototype.doGetNext = function() {
                n.
            default.getInstance().playButton(),
                cc.adCtl.umengEvent("war_cardAward" + (this._getAwardCount + 1));
                var t = this;
                cc.adCtl.showVideo(function(e) {
                    if (1 == e) if (t._getAwardCount < 2) t.setBtnState(1),
                    t._isCanTouch = !0;
                    else {
                        var o = 0;
                        t._curAwardInfoList.forEach(function(e, n) {
                            null != e && (o = n, t.cardRoot.children.forEach(function(t) {
                                t.getComponent("AwardCardItem").selectAni(.3)
                            }))
                        }),
                        t.scheduleOnce(function() {
                            t.doGetAward(o),
                            t._isCanTouch = !1,
                            t.setBtnState(2)
                        },
                        1),
                        t.scheduleOnce(function() {
                            t.node.removeFromParent(),
                            t._closeBackFunc && t._closeBackFunc()
                        },
                        2)
                    }
                })
            },
            e.prototype.closeBtnCall = function() {
                n.
            default.getInstance().playButton(),
                this.node.removeFromParent(),
                this._closeBackFunc && this._closeBackFunc()
            },
            e.prototype.selectItemCall = function(t, e) {
                this._isCanTouch && (n.
            default.getInstance().playButton(), t.target.getComponent("AwardCardItem").selectAni(.3), t.target.removeComponent(cc.Button), this.scheduleOnce(function() {
                    this._isCanTouch = !1,
                    this.setBtnState(2),
                    this._getAwardCount++,
                    this.doGetAward(parseInt(e))
                },
                1))
            },
            e.prototype.randAwardInfo = function() {
                this._curAwardInfoList = [];
                var t = 0;
                i.awardCardInfo.forEach(function(e) {
                    t += e.weight
                });
                for (var e = __spreadArrays(i.awardCardInfo), o = 0; o < 3; o++) for (var n = Math.random() * t, r = 0; r < e.length; r++) {
                    var c = e[r],
                    l = c.weight;
                    if (0 != l && (n -= l) < 0) {
                        if (c.awardId < 0) {
                            var d = Math.abs(c.awardId),
                            u = a.
                        default.getInstance().getWeaponByKind(null, d, null);
                            c.awardId = u.kind,
                            c.data = u
                        } else if (c.awardId == i.myAwardEnum.rune) {
                            var h = Math.floor(Math.random() * s.RuneInfoConfig.length);
                            c.data = {
                                kind: h,
                                lv: c.lv
                            }
                        }
                        this._curAwardInfoList.push(c),
                        e.splice(r, 1),
                        t -= l;
                        break
                    }
                }
            },
            e.prototype.randPos = function(t) {
                for (var e, o = 1; o < t.length; o++) {
                    var n = Math.floor(Math.random() * (o + 1));
                    e = [t[n], t[o]],
                    t[o] = e[0],
                    t[n] = e[1]
                }
                return t
            },
            e.prototype.shuffleCard = function() {
                var t = this;
                this.cardRoot.children.forEach(function(e, o) {
                    for (var n = [], i = 0; i < 10; i++) {
                        var a = 400 * Math.random() - 200,
                        r = 100 * Math.random() - 50;
                        n.push(cc.moveTo(.12, cc.v2(a, r)))
                    }
                    n.push(cc.moveTo(.2, t._oldPos[o])),
                    cc.tween(e).repeat(1, cc.sequence(n)).call(function() {
                        t._isCanTouch = !0
                    }).start()
                })
            },
            e.prototype.setBtnState = function(t) {
                for (var e = 0; e < this.btnRootNode.length; e++) this.btnRootNode[e].active = e == t
            },
            e.prototype.doGetAward = function(t) {
                r.
            default.getInstance().getAwardsByKind(this._curAwardInfoList[t], !0),
                this._curAwardInfoList[t] = null
            },
            __decorate([d(cc.Node)], e.prototype, "cardItem", void 0),
            __decorate([d(cc.Node)], e.prototype, "cardRoot", void 0),
            __decorate([d([cc.Node])], e.prototype, "btnRootNode", void 0),
            __decorate([l], e)
        } (cc.Component);
        o.
    default = u,
        cc._RF.pop()
    },
    {
        "../../data/shopConfig": "shopConfig",
        "../../data/weaponConfig": "weaponConfig",
        "../../utils/AudioMgr": "AudioMgr",
        "../../utils/GameManager": "GameManager",
        "../../utils/myConfigManager": "myConfigManager"
    }],
    BaiduAdManager: [function(t, e) {
        "use strict";
        cc._RF.push(e, "77ba8vg1yJEX6rNQaaw1m22", "BaiduAdManager");
        var o = t("BaseManager");
        cc.Class({
            extends: o,
            ctor: function() {
                this.bannerAdCtrl = null,
                this.videoAdCtrl = null,
                this.videoAdCall = null,
                this.appId_adUnitId = "",
                this.video_adUnitId = "",
                this.banner_adUnitId = "",
                this.GamePortalAd = null,
                this.myBoxAd = ""
            },
            initSDK: function() {
                this.myAdChannel = "baidu";
                var t = cc.adCtl.getAdInfo("baidu");
                t && (this.appId_adUnitId = t.appId, this.video_adUnitId = t.video, this.banner_adUnitId = t.banner, this.initMyVideoAds())
            },
            showToast: function(t) {
                cc.log(t),
                window.swan && swan.showToast({
                    title: t,
                    icon: "none",
                    duration: 2e3
                })
            },
            initMyVideoAds: function() {
                if (window.swan) {
                    var t = this;
                    this.videoAdCtrl = swan.createRewardedVideoAd({
                        adUnitId: this.video_adUnitId,
                        appSid: this.appId_adUnitId
                    }),
                    this.videoAdCtrl.onError(function(t) {
                        console.log("\u5e7f\u544a\u52a0\u8f7d\u51fa\u9519 " + t.errMsg)
                    }),
                    this.videoAdCtrl.onLoad(function() {
                        console.log("\u52a0\u8f7d\u4e8b\u4ef6\u56de\u8c03")
                    }),
                    this.videoAdCtrl.onClose(function(e) {
                        console.log("\u662f\u5426\u89c2\u770b\u5b8c\u6574\u4e86 " + e.isEnded),
                        e.isEnded ? t.videoAdCall(1) : t.showToast("\u672a\u64ad\u653e\u5b8c\u6210,\u4e0d\u80fd\u83b7\u5f97\u5956\u52b1")
                    })
                }
            },
            showVideo: function(t) {
                var e = this;
                if (console.log("ShowVideoAds \u4e8b\u4ef6\u56de\u8c03"), this.videoAdCall = t, window.swan) {
                    if (null == this.videoAdCtrl) return void this.videoAdCall(0);
                    this.videoAdCtrl.load().then(function() {
                        return e.videoAdCtrl.show()
                    }).
                    catch(function(t) {
                        return console.log(t.errMsg)
                    })
                } else console.log("mycb\u4e8b\u4ef6\u56de\u8c03"),
                this.videoAdCall(1)
            },
            hideBanner: function() {
                null != this.bannerAdCtrl && (this.bannerAdCtrl.destroy(), this.bannerAdCtrl = null)
            },
            showBanner: function() {
                var t = this,
                e = this;
                if (this.resizeTime = 0, this.allScreen = !1, window.swan) {
                    null != this.bannerAdCtrl && this.bannerAdCtrl.destroy();
                    var o = {};
                    o.W = swan.getSystemInfoSync().windowWidth,
                    o.H = swan.getSystemInfoSync().windowHeight,
                    this.bannerAdCtrl = swan.createBannerAd({
                        adUnitId: this.banner_adUnitId,
                        appSid: this.appId_adUnitId,
                        style: {
                            left: 0,
                            top: o.H - 168.75,
                            width: 300
                        }
                    }),
                    this.bannerAdCtrl.onResize(function(e) {
                        t.bannerAdCtrl.style.top = o.H - e.height,
                        t.bannerAdCtrl.style.left = (o.W - e.width) / 2
                    }),
                    this.bannerAdCtrl.style.width = 310,
                    this.bannerAdCtrl.onLoad(function() {
                        console.log(" banner \u52a0\u8f7d\u5b8c\u6210"),
                        e.bannerAdCtrl.show().then(function() {
                            console.log("\u5e7f\u544a\u663e\u793a\u6210\u529f")
                        }).
                        catch(function(t) {
                            console.log("\u5e7f\u544a\u7ec4\u4ef6\u51fa\u73b0\u95ee\u9898", t)
                        })
                    }),
                    this.bannerAdCtrl.onError(function(t) {
                        console.log(t)
                    }),
                    console.log("\u51c6\u5907\u663e\u793abanner\u5e7f\u544a")
                }
            },
            moreGame: function() {
                swan.navigateToMiniProgram({
                    appKey: this.myBoxAd,
                    path: "",
                    extraData: {},
                    success: function(t) {
                        console.log("navigateToMiniProgram success", t)
                    },
                    fail: function(t) {
                        console.log("navigateToMiniProgram fail", t)
                    }
                })
            }
        }),
        cc._RF.pop()
    },
    {
        BaseManager: "BaseManager"
    }],
    BaseEnemy: [function(t, e, o) {
        "use strict";
        cc._RF.push(e, "60f0a3WULZGn4l+cCJqcYIT", "BaseEnemy"),
        Object.defineProperty(o, "__esModule", {
            value: !0
        });
        var n = t("../../data/enemyInfoEnum"),
        i = t("../../utils/myConfigManager"),
        a = t("../../utils/Emitter"),
        r = t("../../view/gameui/hitBlinkEffect"),
        s = t("../../data/weaponConfig"),
        c = t("../../utils/AudioMgr"),
        l = cc._decorator,
        d = l.ccclass,
        u = l.property,
        h = function(t) {
            function e() {
                var e = null !== t && t.apply(this, arguments) || this;
                return e.moveKind = n.enemyMoveKind.walk,
                e.attackKind = n.enemyAttackKind.close,
                e.curEnemyStyle = n.enemyStyle.
            default,
                e.moveSpeed = 3,
                e.AttackSpeed = 1,
                e.closeAttackDis = 0,
                e.hitSound = "",
                e.beHitSound = "enemy_shou1",
                e.beDeadSound = "enemy_shou2",
                e.deathName = "Death",
                e.mySkillKind2Arr = [],
                e._curMaxHp = 100,
                e._curReHp = 100,
                e._curHit = 10,
                e._moveDir = 1,
                e._actorRoot = null,
                e._enemyState = n.myPlayerState.none,
                e._skillList = [],
                e._spineAct = null,
                e._spineAniTrack = null,
                e._skillDelayArr = [],
                e._recordScaleX = 0,
                e._recordSkill = null,
                e._hpRoot = null,
                e._hpRecordPos = null,
                e._blinkEffect = null,
                e._moveScale = [1, 1, 1],
                e._spineTimeScale = 1,
                e._isPause = !1,
                e._sustainedList = {},
                e._damageTimes = 0,
                e._isPenetration = !1,
                e._skillTimeScale = 1,
                e._enemyPro = null,
                e._bossAppear = !1,
                e._recordActorHurt = 0,
                e._doHitOnce = !0,
                e
            }
            return __extends(e, t),
            e.prototype.setActorRoot = function(t) {
                this._actorRoot = t
            },
            e.prototype.setCurTimeScale = function(t) {
                this._moveScale[0] = t,
                this._spineTimeScale = t,
                this._spineAct.timeScale <= 1.1 ? this._spineAct.timeScale = this._spineTimeScale: this._spineAct.timeScale = 5 * this._spineTimeScale
            },
            e.prototype.setIsPause = function(t) {
                this._isPause = t,
                this._spineAct && (this._spineAct.paused = t)
            },
            e.prototype.initProData = function(t) {
                this._enemyPro = t,
                this._curMaxHp = t.hp,
                this._curReHp = this._curMaxHp,
                this._curHit = t.hurt,
                this.moveSpeed *= t.movespeen,
                this._skillTimeScale = t.skillspeed
            },
            e.prototype.initEnemy = function() {
                var t = this;
                this._spineAct = this.node.getChildByName("spine").getComponent(sp.Skeleton),
                this._recordScaleX = this.node.scaleX,
                this._changeState(n.myPlayerState.moving),
                this._enemyPro.skill && this._enemyPro.skill.length > 1 && this._spineAct.setSkin(this._enemyPro.skill[Math.floor(Math.random() * this._enemyPro.skill.length)]),
                this.initHpBar();
                var e = this;
                this._spineAct.setCompleteListener(function(t) {
                    var o = t.animation ? t.animation.name: "";
                    Math.floor(t.trackTime / t.animationEnd),
                    o == e.deathName && (e._spineAct = null, e.node.removeFromParent())
                }),
                this._spineAct.setEventListener(function(e, o) {
                    e.animation && e.animation.name,
                    "AniEnd_Attack" == o.data.name ? t._recordSkill || t._changeState(n.myPlayerState.moving) : "Attack_Start" == o.data.name && (t._recordSkill ? t._playSkill(t._recordSkill) : t.attackKind == n.enemyAttackKind.close ? t.checkCloseHit(!0, t.closeAttackDis, t._curHit) : t.attackKind == n.enemyAttackKind.long && t.mySkillKind2Arr.length > 0 && t.mySkillKind2Arr[0].isUseCommonHit && t._playSkill(t.mySkillKind2Arr[0]))
                }),
                this.curEnemyStyle == n.enemyStyle.boss && (this._bossAppear = !0, this.setCurTimeScale(.5), a.
            default.getInstance().emit("myGameControl", {
                    name: "BossAppear",
                    showName: this._enemyPro.chinesename,
                    node: this.node,
                    isAppear: !0
                }), a.
            default.getInstance().emit("aboveBarMgr", {
                    name: "showBossHp",
                    bossName: this._enemyPro.chinesename,
                    isShow: !0
                }), this.scheduleOnce(function() {
                    a.
                default.getInstance().emit("myGameControl", {
                        name: "BossAppear",
                        isAppear: !1
                    }),
                    this.setCurTimeScale(1),
                    this._bossAppear = !1
                },
                3)),
                this.schedule(this.upSustainedState, 1)
            },
            e.prototype.upSustainedState = function() {
                var t = this;
                if (!this.isDead() && !this._isPause) {
                    var e = [];
                    for (var o in this._sustainedList) if (Object.prototype.hasOwnProperty.call(this._sustainedList, o)) {
                        var i = this._sustainedList[o];
                        if (i.value > 0 && (this.upHpBar(i.value), this.hpEffect(i.value, i.color, i.icon), a.
                    default.getInstance().emit("showEffect", {
                            kind: i.icon,
                            pos: this.node.getPosition()
                        })), i.time <= 0) {
                            if (o == n.effectManagerKind.frozen + "") {
                                var r = this.node.getChildByName("effectfrozen");
                                r && (this._spineAct.paused = !1, a.
                            default.getInstance().emit("recycleEffect", {
                                    kind: o,
                                    node: r,
                                    pos: this.node.getPosition()
                                })),
                                this._moveScale[1] = 1
                            } else o == n.effectManagerKind.slow + "" && (this._moveScale[2] = 1);
                            e.push(o)
                        }
                        i.time--
                    }
                    e.forEach(function(e) {
                        delete t._sustainedList[e]
                    })
                }
            },
            e.prototype.doHit = function(t, e, o) {
                var n = this;
                this.isDead() || (this._damageTimes++, this._doHitOnce && (this._doHitOnce = !1, "" != this.beHitSound && c.
            default.getInstance().playSFX(this.beHitSound), this.scheduleOnce(function() {
                    this._doHitOnce = !0
                },
                .2)), this.getHurtList(t, e, o).then(function(t) {
                    var e = t.pop();
                    n.upHpBar(e.value),
                    t.forEach(function(t) {
                        n.hpEffect(t.value, t.color, t.icon),
                        a.
                    default.getInstance().emit("showEffect", {
                            kind: t.icon,
                            pos: n.node.getPosition()
                        })
                    })
                }), this._blinkEffect || (this._blinkEffect = this._spineAct.node.addComponent(r.
            default)), this._blinkEffect.doHit(0))
            },
            e.prototype.isDead = function() {
                return this._enemyState == n.myPlayerState.dead || this._enemyState == n.myPlayerState.deading
            },
            e.prototype.onCollisionEnter = function(t) {
                if (!this.isDead()) {
                    var e = t.node.getComponent("SkillBase");
                    if (e) {
                        if (!e._isSkillActive) return;
                        this.doHit(e.hitHurt, e.isAllHit, e.hitTime),
                        this._isPenetration || e.doMyClear()
                    }
                }
            },
            e.prototype._updateMyPosition = function() {
                if (! (this._moveScale[1] <= 0 && this._enemyState != n.myPlayerState.deading)) {
                    for (var t = 0; t < this._skillDelayArr.length; t++) this._skillDelayArr[t]--;
                    var e = this.node.getPosition();
                    if (this._hpRoot && this._hpRoot.node.setPosition(cc.v2(e.x, e.y + this._hpRecordPos.y)), this._enemyState == n.myPlayerState.moving) {
                        this._doPlayAni("Move", !0);
                        var o = this._actorRoot.ActorNode.getPosition().sub(e),
                        i = Math.abs(o.x);
                        0 == i && (i = 1);
                        var r = o.x / i;
                        if (0 != r && r != this._moveDir && (this._moveDir = r, this.node.scaleX = r * this._recordScaleX), this._skillDownTime(i)) return;
                        var s = o.normalize();
                        this._bossAppear || i > this.closeAttackDis ? this.node.x += s.x * this.moveSpeed * this._moveScale[0] * this._moveScale[2] : this._doCloseAttack()
                    } else if (this._enemyState == n.myPlayerState.deading) {
                        var l = this.node.getChildByName("effectfrozen");
                        l && (this._spineAct.paused = !1, a.
                    default.getInstance().emit("recycleEffect", {
                            kind: 6,
                            node: l,
                            pos: this.node.getPosition()
                        })),
                        "" != this.beDeadSound && c.
                    default.getInstance().playSFX(this.beDeadSound),
                        this._hpRoot.node.removeFromParent(),
                        this._hpRoot.node.destroy(),
                        this._hpRoot = null,
                        this._enemyState = n.myPlayerState.dead,
                        this.node.stopAllActions(),
                        this.node.getComponent(cc.BoxCollider).enabled = !1,
                        this.unschedule(this.upSustainedState),
                        this.node.getComponent("FollowBallSkill") && this.node.getComponent("FollowBallSkill").clearBall(),
                        "" == this.deathName ? (this._spineAct = null, this.node.removeFromParent()) : this._spineAniTrack = this._spineAct.setAnimation(0, this.deathName, !1)
                    }
                }
            },
            e.prototype.initHpBar = function() {
                if (this._hpRoot = {},
                this._hpRoot.node = this.node.getChildByName("hp_enemy"), this._hpRoot.node) {
                    this._hpRoot.label = this._hpRoot.node.getComponentInChildren(cc.Label),
                    this._hpRoot.label.string = this._curReHp,
                    this._hpRoot.ProgressBar = this._hpRoot.node.getComponent(cc.ProgressBar),
                    this._hpRecordPos = this._hpRoot.node.getPosition(),
                    this._hpRoot.node.parent = null,
                    a.
                default.getInstance().emit("setHpParent", {
                        node: this._hpRoot.node
                    });
                    var t = this.node.getPosition();
                    this._hpRoot && this._hpRoot.node.setPosition(cc.v2(t.x, t.y + this._hpRecordPos.y))
                }
            },
            e.prototype.upHpBar = function(t) {
                if (!this.isDead()) {
                    if (this._curReHp -= t, this._curReHp <= 0) {
                        this._curReHp = 0,
                        this._enemyState = n.myPlayerState.deading;
                        var e = Math.floor(Math.random() * (this._enemyPro.goldmax - this._enemyPro.goldmin) + this._enemyPro.goldmin);
                        a.
                    default.getInstance().emit("myGameControl", {
                            name: "enemyDead",
                            kind: this.curEnemyStyle,
                            pos: this.node.getPosition(),
                            gold: e
                        }),
                        this.curEnemyStyle == n.enemyStyle.boss && a.
                    default.getInstance().emit("aboveBarMgr", {
                            name: "showBossHp",
                            bossName: this._enemyPro.chinesename,
                            isShow: !1
                        }),
                        this._recordActorHurt > 0 && a.
                    default.getInstance().emit("common_Skill", {
                            name: "BoomEffect",
                            startPos: this.node.getPosition(),
                            toPos: cc.v2(),
                            hit: Math.floor(1.5 * this._recordActorHurt),
                            allHit: !1,
                            objStr: "actor_attack"
                        })
                    }
                    if (this._hpRoot) {
                        this._hpRoot.label.string = this._curReHp;
                        var o = this._curReHp / this._curMaxHp;
                        this._hpRoot.ProgressBar.progress = o,
                        this.curEnemyStyle == n.enemyStyle.boss && a.
                    default.getInstance().emit("aboveBarMgr", {
                            name: "upBossHp",
                            pre: o
                        })
                    }
                }
            },
            e.prototype.hpEffect = function(t, e, o) {
                var n = this.node.getPosition(),
                i = cc.v2(n.x, n.y + this._hpRecordPos.y);
                a.
            default.getInstance().emit("showblood", {
                    num: t,
                    kind: e,
                    icon: o,
                    startPos: i,
                    dir: -1 * this._moveDir
                })
            },
            e.prototype.getHurtList = function(t, e, o) {
                void 0 === o && (o = 1);
                var r = this;
                return new Promise(function(c) {
                    r._recordActorHurt = t,
                    r._moveScale = [1, 1, 1];
                    var l = i.
                default.getInstance().getFullProperty();
                    r._isPenetration = l.hasOwnProperty(s.EquipPropertyEnum.skill5);
                    var d = t;
                    l.hasOwnProperty(s.EquipPropertyEnum.skill10) || (r._recordActorHurt = -1);
                    var u = [];
                    if (l.hasOwnProperty(s.EquipPropertyEnum.skill13) && r.curEnemyStyle != n.enemyStyle.boss && 1 == l[s.EquipPropertyEnum.skill13]) return l[s.EquipPropertyEnum.skill13] = 0,
                    u.push({
                        color: cc.Color.ORANGE,
                        value: 9999,
                        icon: n.effectManagerKind.crit
                    }),
                    u.push({
                        color: cc.Color.ORANGE,
                        value: 9999,
                        icon: n.effectManagerKind.crit
                    }),
                    void c(u);
                    if (!e) {
                        d = Math.round(d);
                        for (var h = Math.round(d / o), p = 0; p < o; p++) u.push({
                            color: cc.Color.WHITE,
                            value: h
                        });
                        return u.push({
                            color: cc.Color.WHITE,
                            value: d
                        }),
                        void c(u)
                    }
                    var f = !1;
                    if (l.hasOwnProperty(s.EquipPropertyEnum.critRate)) {
                        var m = l[s.EquipPropertyEnum.critRate];
                        if (100 * Math.random() < m) {
                            f = !0;
                            var g = 0;
                            l.hasOwnProperty(s.EquipPropertyEnum.critDamage) && (g = l[s.EquipPropertyEnum.critDamage] / 100),
                            d *= 2 + g,
                            l.hasOwnProperty(s.EquipPropertyEnum.critDamageFixed) && (d += l[s.EquipPropertyEnum.critDamageFixed])
                        }
                    }
                    l.hasOwnProperty(s.EquipPropertyEnum.poisonDamage) && (m = Math.round(.7 * d), r._sustainedList[n.effectManagerKind.du] = {
                        color: new cc.Color(177, 11, 255),
                        value: m,
                        time: 5,
                        icon: n.effectManagerKind.du
                    }),
                    l.hasOwnProperty(s.EquipPropertyEnum.burnDamage) && (m = Math.round(1.5 * d), r._sustainedList[n.effectManagerKind.huo] = {
                        color: cc.Color.RED,
                        value: m,
                        time: 3,
                        icon: n.effectManagerKind.huo
                    }),
                    l.hasOwnProperty(s.EquipPropertyEnum.frozenDamage) && r.curEnemyStyle != n.enemyStyle.boss && 100 * Math.random() < 5 && (r._moveScale[1] = 0, r.node.getChildByName("effectfrozen") || (r._spineAct.paused = !0, a.
                default.getInstance().emit("showEffect", {
                        kind: 6,
                        node: r.node
                    })), r._sustainedList[n.effectManagerKind.frozen] = {
                        color: cc.Color.WHITE,
                        value: 0,
                        time: 1
                    }),
                    l.hasOwnProperty(s.EquipPropertyEnum.skill14) && (r._moveScale[2] = .9, r._sustainedList[n.effectManagerKind.slow] = {
                        color: cc.Color.WHITE,
                        value: 0,
                        time: 1
                    }),
                    l.hasOwnProperty(s.EquipPropertyEnum.extraDamageBy2) && r._damageTimes % 2 == 0 && (d += l[s.EquipPropertyEnum.extraDamageBy2]),
                    l.hasOwnProperty(s.EquipPropertyEnum.addMobsDamage) && r.curEnemyStyle == n.enemyStyle.
                default && (d += l[s.EquipPropertyEnum.addMobsDamage]),
                    l.hasOwnProperty(s.EquipPropertyEnum.addBossDamage) && r.curEnemyStyle == n.enemyStyle.boss && (d += l[s.EquipPropertyEnum.addBossDamage]),
                    l.hasOwnProperty(s.EquipPropertyEnum.addMeleeDamage) && r.attackKind == n.enemyAttackKind.close && (d += l[s.EquipPropertyEnum.addMeleeDamage]),
                    l.hasOwnProperty(s.EquipPropertyEnum.addRangedDamage) && r.attackKind == n.enemyAttackKind.long && (d += l[s.EquipPropertyEnum.addRangedDamage]),
                    d = Math.round(d),
                    f ? u.push({
                        color: cc.Color.ORANGE,
                        value: d,
                        icon: n.effectManagerKind.crit
                    }) : u.push({
                        color: cc.Color.WHITE,
                        value: d
                    }),
                    l.hasOwnProperty(s.EquipPropertyEnum.fireDamage) && (m = Math.round(d * l[s.EquipPropertyEnum.fireDamage] / 100), u.push({
                        color: cc.Color.RED,
                        value: m,
                        icon: n.effectManagerKind.huo2
                    }), d += m),
                    l.hasOwnProperty(s.EquipPropertyEnum.lightningDamage) && (m = Math.round(d * l[s.EquipPropertyEnum.lightningDamage] / 100), u.push({
                        color: cc.Color.YELLOW,
                        value: m,
                        icon: n.effectManagerKind.shandian
                    }), d += m),
                    l.hasOwnProperty(s.EquipPropertyEnum.frostDamage) && (m = Math.round(d * l[s.EquipPropertyEnum.frostDamage] / 100), u.push({
                        color: new cc.Color(43, 148, 255),
                        value: m,
                        icon: n.effectManagerKind.bing
                    }), d += m),
                    l.hasOwnProperty(s.EquipPropertyEnum.normalDamage) && (m = Math.round(d * l[s.EquipPropertyEnum.normalDamage] / 100), u.push({
                        color: cc.Color.WHITE,
                        value: m
                    }), d += m),
                    u.push({
                        color: cc.Color.WHITE,
                        value: d
                    }),
                    c(u)
                })
            },
            e.prototype.checkCloseHit = function(t, e, o) {
                var n = this._actorRoot.ActorNode.getPosition(),
                i = this.node.getPosition(),
                a = n.sub(i),
                r = Math.abs(a.x);
                0 == r && (r = 1);
                var s = a.x / r;
                0 == s && (s = this._moveDir),
                r < e && (!t || s == this._moveDir) && this._actorRoot.doHit(o)
            },
            e.prototype.addSkillData = function(t) {
                t.hurtNum = this._curHit,
                this.mySkillKind2Arr.push(t),
                this._skillDelayArr.push(0)
            },
            e.prototype.initSkillData = function() {},
            e.prototype.setMySkillComponent = function(t, e) {
                if (this._skillList.hasOwnProperty(t)) return this._skillList[t];
                var o = this.node.addComponent(e);
                o ? this._skillList[t] = o: console.log("error " + e)
            },
            e.prototype.getMySkillComponent = function(t) {
                return this._skillList.hasOwnProperty(t) ? (this._changeState(n.myPlayerState.skill), this._skillList[t]) : null
            },
            e.prototype._doCloseAttack = function(t) {
                void 0 === t && (t = !1),
                this._changeState(n.myPlayerState.attack),
                this._doPlayAni("Attack", !1, t),
                this._spineAniTrack && (this._spineAniTrack.timeScale = this.AttackSpeed),
                "" != this.hitSound && c.
            default.getInstance().playSFX(this.hitSound)
            },
            e.prototype._doPlayAni = function(t, e, o) {
                void 0 === o && (o = !1),
                !o && this._spineAniTrack && this._spineAniTrack.animation && this._spineAniTrack.animation.name == t || (this._spineAniTrack = this._spineAct.setAnimation(0, t, e))
            },
            e.prototype._skillDownTime = function(t) {
                if (this._bossAppear) return ! 1;
                for (var e = [], o = 0; o < this._skillDelayArr.length; o++) this._skillDelayArr[o] <= 0 && e.push(o);
                if (e.length > 0) {
                    var n = Math.floor(Math.random() * e.length);
                    n = e[n];
                    var i = this.mySkillKind2Arr[n];
                    if (this._skillDelayArr[n] = Math.floor(i.skillDelayCommon * this._skillTimeScale), t > i.minTrigger && t < i.maxTrigger) return i.isTriggerActAni ? (this._recordSkill = i, this._recordSkill.isDartle && (this._spineAct.timeScale *= 5), this._doCloseAttack()) : this._playSkill(i),
                    !0
                }
                return ! 1
            },
            e.prototype._playSkill = function(t) {
                var e = this,
                o = t;
                o && (this._changeState(n.myPlayerState.skill), o._isFly = this.moveKind == n.enemyMoveKind.fly, o.doSkill(null, this._actorRoot.ActorNode.getPosition()).then(function(o) {
                    if (o == n.soldierSkillKind.selfRangeHit) e.checkCloseHit(!1, e.closeAttackDis, t.hurtNum);
                    else if (o == n.soldierSkillKind.normalAttack) e.checkCloseHit(!0, e.closeAttackDis, t.hurtNum);
                    else if (o == n.soldierSkillKind.aimingSkill)"" != e.hitSound && c.
                default.getInstance().playSFX(e.hitSound),
                    e._actorRoot.doHit(t.hurtNum);
                    else {
                        if (o == n.soldierSkillKind.dartle) return void e._doCloseAttack(!0);
                        e._spineAct.timeScale > e._spineTimeScale && (e._spineAct.timeScale = e._spineTimeScale)
                    }
                    e._recordSkill = null,
                    t.isTriggerActAni || e._changeState(n.myPlayerState.moving)
                }))
            },
            e.prototype._changeState = function(t) {
                this.isDead() || (this._enemyState = t)
            },
            __decorate([u({
                type: cc.Enum(n.enemyMoveKind)
            })], e.prototype, "moveKind", void 0),
            __decorate([u({
                type: cc.Enum(n.enemyAttackKind)
            })], e.prototype, "attackKind", void 0),
            __decorate([u({
                type: cc.Enum(n.enemyStyle)
            })], e.prototype, "curEnemyStyle", void 0),
            __decorate([u({
                tooltip: "\u79fb\u52a8\u901f\u5ea6"
            })], e.prototype, "moveSpeed", void 0),
            __decorate([u({
                tooltip: "\u653b\u51fb\u901f\u5ea6"
            })], e.prototype, "AttackSpeed", void 0),
            __decorate([u({
                tooltip: "\u653b\u51fb\u8ddd\u79bb"
            })], e.prototype, "closeAttackDis", void 0),
            __decorate([u({
                tooltip: "\u653b\u51fb\u97f3\u6548"
            })], e.prototype, "hitSound", void 0),
            __decorate([u({
                tooltip: "\u88ab\u653b\u51fb\u97f3\u6548"
            })], e.prototype, "beHitSound", void 0),
            __decorate([u({
                tooltip: "\u6b7b\u4ea1\u97f3\u6548"
            })], e.prototype, "beDeadSound", void 0),
            __decorate([u({
                tooltip: "\u6b7b\u4ea1\u52a8\u753b"
            })], e.prototype, "deathName", void 0),
            __decorate([d], e)
        } (cc.Component);
        o.
    default = h,
        cc._RF.pop()
    },
    {
        "../../data/enemyInfoEnum": "enemyInfoEnum",
        "../../data/weaponConfig": "weaponConfig",
        "../../utils/AudioMgr": "AudioMgr",
        "../../utils/Emitter": "Emitter",
        "../../utils/myConfigManager": "myConfigManager",
        "../../view/gameui/hitBlinkEffect": "hitBlinkEffect"
    }],
    BaseManager: [function(t, e) {
        "use strict";
        cc._RF.push(e, "e20celvni1J+7C2icBDJTAD", "BaseManager"),
        cc.Class({
            ctor: function() {
                this.myAdChannel = "none"
            },
            initSDK: function() {
                console.log("BaseManager - initSDK")
            },
            showVideo: function() {
                console.log("BaseManager - showVideo")
            },
            showInst: function() {
                console.log("BaseManager - showInst")
            },
            showBanner: function() {
                console.log("BaseManager - showBanner")
            },
            hideBanner: function() {
                console.log("BaseManager - hideBanner")
            },
            showNative: function() {
                console.log("BaseManager - showNative")
            },
            getNativeAdData: function() {
                return console.log("BaseManager - getNativeAdData"),
                null
            },
            nativeAdEvent: function() {
                console.log("BaseManager - NativeAdEvent")
            },
            startRecord: function() {
                console.log("BaseManager - startRecord")
            },
            selfClipVideo: function() {
                console.log("BaseManager - selfClipVideo")
            },
            endRecord: function() {
                console.log("BaseManager - endRecord")
            },
            shareRecord: function() {
                console.log("BaseManager - shareRecord")
            },
            shareGame: function() {
                console.log("BaseManager - shareGame")
            },
            moreGame: function() {
                console.log("BaseManager - moreGame")
            },
            setMoreBtnState: function() {
                console.log("BaseManager - setMoreBtnState")
            },
            doShock: function() {
                console.log("BaseManager - doShock")
            },
            saveDesktopIcon: function() {
                console.log("BaseManager - saveDesktopIcon")
            },
            getIsHaveDesktopIcon: function() {
                return console.log("BaseManager - getIsHaveDesktopIcon"),
                !1
            }
        }),
        cc._RF.pop()
    },
    {}],
    BezierTool: [function(t, e, o) {
        "use strict";
        cc._RF.push(e, "18909Gk+55NL6jbn6LlojAI", "BezierTool"),
        Object.defineProperty(o, "__esModule", {
            value: !0
        });
        var n = cc._decorator,
        i = n.ccclass,
        a = (n.property,
        function(t) {
            function e() {
                return null !== t && t.apply(this, arguments) || this
            }
            return __extends(e, t),
            e.getPoint = function(t, e) {
                var o, n, i, a, r, s, c, l, d = [0, 0];
                return i = 3 * (t[1][0] - t[0][0]),
                n = 3 * (t[2][0] - t[1][0]) - i,
                o = t[3][0] - t[0][0] - i - n,
                s = 3 * (t[1][1] - t[0][1]),
                r = 3 * (t[2][1] - t[1][1]) - s,
                a = t[3][1] - t[0][1] - s - r,
                l = (c = e * e) * e,
                d[0] = o * l + n * c + i * e + t[0][0],
                d[1] = a * l + r * c + s * e + t[0][1],
                d
            },
            __decorate([i], e)
        } (cc.Component));
        o.
    default = a,
        cc._RF.pop()
    },
    {}],
    BgControl: [function(t, e, o) {
        "use strict";
        cc._RF.push(e, "f811cAAQANIup18E3HC2rXr", "BgControl"),
        Object.defineProperty(o, "__esModule", {
            value: !0
        });
        var n = t("../utils/Emitter"),
        i = cc._decorator,
        a = i.ccclass,
        r = i.property,
        s = function(t) {
            function e() {
                var e = null !== t && t.apply(this, arguments) || this;
                return e.BgNode1 = null,
                e.BgNode2 = null,
                e.BgNode3 = null,
                e.GroundNode = null,
                e._oldBgNodeArr = [],
                e
            }
            return __extends(e, t),
            e.prototype.onLoad = function() {
                n.
            default.getInstance().on("move_bg", this.moveBgEvent, this),
                this._oldBgNodeArr.push(this.BgNode1.x),
                this._oldBgNodeArr.push(this.BgNode2.x),
                this._oldBgNodeArr.push(this.BgNode3.x)
            },
            e.prototype.onDestroy = function() {
                n.
            default.getInstance().off("move_bg", this)
            },
            e.prototype.moveBgEvent = function(t) {
                this.BgNode1.x = this._oldBgNodeArr[0] + .03 * t.speed * -1,
                this.BgNode2.x = this._oldBgNodeArr[1] + .06 * t.speed * -1,
                this.BgNode3.x = this._oldBgNodeArr[2] + .1 * t.speed * -1
            },
            __decorate([r(cc.Node)], e.prototype, "BgNode1", void 0),
            __decorate([r(cc.Node)], e.prototype, "BgNode2", void 0),
            __decorate([r(cc.Node)], e.prototype, "BgNode3", void 0),
            __decorate([r(cc.Node)], e.prototype, "GroundNode", void 0),
            __decorate([a], e)
        } (cc.Component);
        o.
    default = s,
        cc._RF.pop()
    },
    {
        "../utils/Emitter": "Emitter"
    }],
    BgManager: [function(t, e, o) {
        "use strict";
        cc._RF.push(e, "7020ayGT/BM05dPxhTiLcQd", "BgManager"),
        Object.defineProperty(o, "__esModule", {
            value: !0
        });
        var n = t("../utils/myConfigManager"),
        i = cc._decorator,
        a = i.ccclass,
        r = i.property,
        s = function(t) {
            function e() {
                var e = null !== t && t.apply(this, arguments) || this;
                return e.BgList = [],
                e
            }
            return __extends(e, t),
            e.prototype.onLoad = function() {
                var t = n.
            default.getInstance()._curlevelIndex - 1;
                t < 0 && (t = 0),
                n.
            default.getInstance()._curlevelIndex >= this.BgList.length && (t = this.BgList.length - 1);
                var e = cc.instantiate(this.BgList[t]);
                this.node.addChild(e)
            },
            e.prototype.onDestroy = function() {},
            __decorate([r([cc.Prefab])], e.prototype, "BgList", void 0),
            __decorate([a], e)
        } (cc.Component);
        o.
    default = s,
        cc._RF.pop()
    },
    {
        "../utils/myConfigManager": "myConfigManager"
    }],
    BulletActor: [function(t, e, o) {
        "use strict";
        cc._RF.push(e, "fa1739WQ1FOj439tPRVtBwj", "BulletActor"),
        Object.defineProperty(o, "__esModule", {
            value: !0
        });
        var n = t("./SkillBase"),
        i = cc._decorator,
        a = i.ccclass,
        r = (i.property,
        function(t) {
            function e() {
                var e = null !== t && t.apply(this, arguments) || this;
                return e._launchKind = 2,
                e._dir = 1,
                e._isTrack = !1,
                e._angleD = 1440,
                e._flyTime = 1.8,
                e
            }
            return __extends(e, t),
            e.prototype.onEnable = function() {
                this._isTrack || this._doLaunch()
            },
            e.prototype.setTargetPos = function(t) {
                var e = this,
                o = this.node.getPosition(),
                n = cc.v3(0, 0, 0),
                i = Math.atan2(t.y - o.y, t.x - o.x);
                n.x = o.x + 2e3 * Math.cos(i),
                n.y = o.y + 2e3 * Math.sin(i),
                this.node.angle = 0,
                cc.tween(this.node).to(this._flyTime, {
                    position: n,
                    angle: this._angleD * this._dir * -1
                }).call(function() {
                    e.doMyClear()
                }).start()
            },
            e.prototype._doLaunch = function() {
                var t = this,
                e = this.node.getPosition(),
                o = cc.v3(0, 0, 0);
                if (1 == this._launchKind) o.x = e.x + 2e3 * this._dir;
                else if (2 == this._launchKind) {
                    var n = .26175; - 1 == this._dir && (n = 2.87925),
                    o.x = e.x + 2e3 * Math.cos(n),
                    o.y = e.y + 2e3 * Math.sin(n)
                } else 3 == this._launchKind && (n = -.26175, -1 == this._dir && (n = 3.40275), o.x = e.x + 2e3 * Math.cos(n), o.y = e.y + 2e3 * Math.sin(n));
                cc.tween(this.node).to(this._flyTime, {
                    position: o,
                    angle: this._angleD * this._dir * -1
                }).call(function() {
                    t.doMyClear()
                }).start()
            },
            __decorate([a], e)
        } (n.
    default));
        o.
    default = r,
        cc._RF.pop()
    },
    {
        "./SkillBase": "SkillBase"
    }],
    BulletArchers: [function(t, e, o) {
        "use strict";
        cc._RF.push(e, "d3cdaTJaGZF6adJ0k2EtSpS", "BulletArchers"),
        Object.defineProperty(o, "__esModule", {
            value: !0
        });
        var n = t("../../utils/BezierTool"),
        i = t("./SkillBase"),
        a = t("../../utils/Emitter"),
        r = t("../../utils/GameManager"),
        s = t("../../data/enemyInfoEnum"),
        c = cc._decorator,
        l = c.ccclass,
        d = c.property,
        u = function(t) {
            function e() {
                var e = null !== t && t.apply(this, arguments) || this;
                return e.isSpine = !1,
                e.isRotation = !1,
                e.trailKind = 0,
                e.trailColor = cc.Color.WHITE,
                e._cps = [],
                e._curTime = 0,
                e._lastPos = cc.v2(),
                e._timeScale = 1,
                e._spineAct = null,
                e
            }
            return __extends(e, t),
            e.prototype.onEnable = function() {
                if (this._cps = [], this._curTime = 0, this._lastPos = this.node.getPosition(), this.isSpine ? (this._spineAct = this.getComponent(sp.Skeleton), this._spineAct.setAnimation(0, "Attack", !1)) : this._spineAct = null, 1 == this._kind ? this.launchBullet1(this._lastPos, this.toPos) : 2 == this._kind && this.launchBullet2(this._lastPos, this.toPos), this.isRotation) {
                    var t = this.toPos.x - this._lastPos.x > 0 ? 1 : -1,
                    e = this.node.getChildByName("weapon");
                    if (e) {
                        var o = 1 / r.
                    default.getInstance()._myEnemyTimeScale;
                        cc.tween(e).by(1 * o, {
                            angle: 720 * t * -1
                        }).union().repeatForever().start()
                    }
                }
                var n = this.node.height * this.node.scale + 30;
                n < 100 && (n = 100),
                a.
            default.getInstance().emit("attackWarning", {
                    width: n,
                    pos: this.toPos
                })
            },
            e.prototype.launchBullet1 = function(t, e) {
                var o = e.x - t.x,
                n = 600,
                i = Math.abs(o);
                n = i * (n / this.maxDis),
                this._timeScale = this.maxDis / i,
                this._timeScale > 2 && (this._timeScale = 2);
                var a = this.node.height * this.node.scale * .5;
                this._cps.push([t.x, t.y]),
                this._cps.push([t.x + .3 * o, t.y + n]),
                this._cps.push([t.x + .8 * o, t.y + n]),
                this._cps.push([e.x, e.y + a])
            },
            e.prototype.launchBullet2 = function(t, e) {
                var o = this;
                this.node.angle = 90;
                var n = this.node.height * this.node.scale * .5,
                i = 1 / r.
            default.getInstance()._myEnemyTimeScale;
                cc.tween(this.node).to(1 * i, {
                    y: cc.winSize.height
                }).to(.1 * i, {
                    x: e.x,
                    angle: -90
                }).to(1 * i, {
                    y: e.y + n
                }).call(function() {
                    o._spineAct && o._spineAct.setAnimation(0, "Damgae", !1)
                }).delay(.1).call(function() {
                    o.actEnd()
                }).start()
            },
            e.prototype.update = function(t) {
                var e = this;
                if (1 == this._kind && !r.
            default.getInstance()._isGamePause) {
                    var o = r.
                default.getInstance()._myEnemyTimeScale;
                    if (this._curTime += t * this._timeScale * o, this._curTime > 1) return void(this._spineAct ? (this._spineAct.setAnimation(0, "Damgae", !1), this._kind = 0, cc.tween(this.node).delay(.1).call(function() {
                        e.actEnd()
                    }).start()) : this.actEnd());
                    var i = n.
                default.getPoint(this._cps, this._curTime),
                    a = cc.v2(i[0], i[1]),
                    s = a.sub(this._lastPos).normalize();
                    this.node.angle = 90 + 180 * cc.v2(0, 1).signAngle(s) / Math.PI,
                    this.node.setPosition(a),
                    this._lastPos = a
                }
            },
            e.prototype.actEnd = function() {
                this.myEffectKind == s.effectManagerKind.du && a.
            default.getInstance().emit("common_Skill", {
                    name: "PoisonEffect",
                    startPos: cc.v2(this.node.getPosition().x, -180),
                    toPos: cc.v2(),
                    hit: this.hitHurt,
                    allHit: !1,
                    objStr: "enemy_attack"
                }),
                this.doMyClear()
            },
            __decorate([d], e.prototype, "isSpine", void 0),
            __decorate([d], e.prototype, "isRotation", void 0),
            __decorate([d], e.prototype, "trailKind", void 0),
            __decorate([d(cc.Color)], e.prototype, "trailColor", void 0),
            __decorate([l], e)
        } (i.
    default);
        o.
    default = u,
        cc._RF.pop()
    },
    {
        "../../data/enemyInfoEnum": "enemyInfoEnum",
        "../../utils/BezierTool": "BezierTool",
        "../../utils/Emitter": "Emitter",
        "../../utils/GameManager": "GameManager",
        "./SkillBase": "SkillBase"
    }],
    BulletDrop: [function(t, e, o) {
        "use strict";
        cc._RF.push(e, "45c96YmWmZO1rDeQNpnC+v1", "BulletDrop"),
        Object.defineProperty(o, "__esModule", {
            value: !0
        });
        var n, i = t("../../utils/Emitter"),
        a = t("./SkillBase"),
        r = cc._decorator,
        s = r.ccclass,
        c = r.property; (function(t) {
            t[t.star1 = 0] = "star1",
            t[t.shandian = 1] = "shandian",
            t[t.fireBall = 2] = "fireBall",
            t[t.dHand = 3] = "dHand"
        })(n || (n = {}));
        var l = function(t) {
            function e() {
                var e = null !== t && t.apply(this, arguments) || this;
                return e.myEffect = n.star1,
                e.skillRoot = null,
                e.colliderBox = null,
                e.colliderTime = 0,
                e
            }
            return __extends(e, t),
            e.prototype.onEnable = function() {
                var t = this;
                i.
            default.getInstance().emit("attackWarning", {
                    width: this.colliderBox.size.width,
                    pos: this.node.getPosition()
                }),
                this.skillRoot.active = !1,
                0 != this.colliderTime ? (this.colliderBox.enabled = !1, cc.tween(this.node).delay(1).call(function() {
                    t.doSkill()
                }).delay(this.colliderTime).call(function() {
                    t.colliderBox.enabled = !0
                }).start()) : this.doSkill()
            },
            e.prototype.doSkill = function() {
                switch (this.skillRoot.active = !0, this.myEffect) {
                case n.star1:
                    this.showStar1();
                    break;
                case n.shandian:
                    this.showshandian();
                    break;
                case n.fireBall:
                    this.showFireBall();
                    break;
                case n.dHand:
                    this.showDHand()
                }
            },
            e.prototype.showStar1 = function() {
                var t = this,
                e = this.skillRoot.getChildByName("FXT_WD_drop_001"),
                o = this.skillRoot.getChildByName("FXT_WD_flare_002"),
                n = this.skillRoot.getChildByName("FxT_Glow_01");
                this.skillRoot.getChildByName("boomParticle").getComponent(cc.ParticleSystem).resetSystem(),
                cc.tween(e).to(.7, {
                    scaleY: .1
                },
                {
                    easing: "quartOut"
                }).start(),
                cc.tween(o).to(.7, {
                    scale: .8
                },
                {
                    easing: "quartOut"
                }).call(function() {
                    e.scaleY = 1,
                    o.scale = 3,
                    n.scale = 3,
                    t.doMyClear()
                }).start(),
                cc.tween(n).to(.5, {
                    scale: 0
                }).start()
            },
            e.prototype.showshandian = function() {
                var t = this,
                e = this.skillRoot.getChildByName("RainofFire"),
                o = this.skillRoot.getChildByName("boom");
                e.getComponent(sp.Skeleton).setAnimation(0, "lightng", !1),
                o.getComponent(cc.ParticleSystem).resetSystem(),
                cc.tween(this.node).delay(.6).call(function() {
                    t.doMyClear()
                }).start()
            },
            e.prototype.showFireBall = function() {
                var t = this,
                e = this.skillRoot.getChildByName("Meteo");
                e.active = !0;
                var o = this.node.getPosition().clone(),
                n = cc.v2(o.x - o.x, o.y - o.y).normalize(),
                i = cc.v2(300 * n.x, cc.winSize.height);
                this.node.setPosition(i);
                var a = 180 * Math.atan2(o.y - i.y, o.x - i.x) / Math.PI;
                this.node.angle = -a,
                cc.tween(this.node).to(.5, {
                    position: o
                }).call(function() {
                    e.active = !1
                }).delay(.5).call(function() {
                    t.doMyClear()
                }).start()
            },
            e.prototype.showDHand = function() {
                var t = this,
                e = this.skillRoot.getComponent(sp.Skeleton);
                e.setAnimation(0, "Attack_start", !1),
                e.addAnimation(0, "Attack_loop", !1),
                e.addAnimation(0, "Attack_end", !1),
                cc.tween(this.node).delay(2).call(function() {
                    t.doMyClear()
                }).start()
            },
            __decorate([c({
                type: cc.Enum(n)
            })], e.prototype, "myEffect", void 0),
            __decorate([c(cc.Node)], e.prototype, "skillRoot", void 0),
            __decorate([c(cc.BoxCollider)], e.prototype, "colliderBox", void 0),
            __decorate([c({
                tooltip: "\u78b0\u649e\u5f00\u542f\u65f6\u95f4"
            })], e.prototype, "colliderTime", void 0),
            __decorate([s], e)
        } (a.
    default);
        o.
    default = l,
        cc._RF.pop()
    },
    {
        "../../utils/Emitter": "Emitter",
        "./SkillBase": "SkillBase"
    }],
    BulletFlyFu: [function(t, e, o) {
        "use strict";
        cc._RF.push(e, "c0d5dEKGHBHn4X85X3Y2/l0", "BulletFlyFu"),
        Object.defineProperty(o, "__esModule", {
            value: !0
        });
        var n = t("./SkillBase"),
        i = cc._decorator,
        a = i.ccclass,
        r = (i.property,
        function(t) {
            function e() {
                var e = null !== t && t.apply(this, arguments) || this;
                return e._oldPos = cc.v2(),
                e
            }
            return __extends(e, t),
            e.prototype.onEnable = function() {
                this.startFly()
            },
            e.prototype.startFly = function() {
                var t = this,
                e = this.node.getPosition().clone();
                this._oldPos = e;
                var o = this.toPos,
                n = 200 * Math.random() + 500;
                this.node.angle = 0;
                var i = 1;
                e.x < o.x && (i = -1),
                o.x = e.x + i * (200 * Math.random() + this.maxDis - 100) * -1,
                this.node.scaleX = i,
                cc.tween(this.node).repeatForever(cc.rotateBy(.3, 360)).start(),
                cc.tween(this.node).bezierTo(.8, cc.v2(e.x, e.y + n), cc.v2(o.x, o.y + n), o).call(function() {
                    t.backAction()
                }).start()
            },
            e.prototype.backAction = function() {
                var t = this,
                e = .3 * Math.random() + .1;
                cc.tween(this.node).delay(e).to(1, {
                    position: this._oldPos
                },
                {
                    easing: "quartIn"
                }).call(function() {
                    t.doMyClear()
                }).start()
            },
            __decorate([a], e)
        } (n.
    default));
        o.
    default = r,
        cc._RF.pop()
    },
    {
        "./SkillBase": "SkillBase"
    }],
    BulletGhost: [function(t, e, o) {
        "use strict";
        cc._RF.push(e, "5fca2SsqpBA0aacoIPfEqUC", "BulletGhost"),
        Object.defineProperty(o, "__esModule", {
            value: !0
        });
        var n = t("../../utils/BezierTool"),
        i = t("../../utils/GameManager"),
        a = t("../GameControl"),
        r = t("./SkillBase"),
        s = cc._decorator,
        c = s.ccclass,
        l = s.property,
        d = function(t) {
            function e() {
                var e = null !== t && t.apply(this, arguments) || this;
                return e.curSpine = null,
                e._speed = 6,
                e._actorNode = null,
                e._isDead = !1,
                e._defautlDr = 0,
                e._cps = [],
                e._curTime = 0,
                e._lastPos = cc.v2(),
                e._timeScale = 1,
                e._dir = 1,
                e._curScaleY = 0,
                e._recordOff = 0,
                e
            }
            return __extends(e, t),
            e.prototype.onLoad = function() {
                this._actorNode = cc.find("Canvas").getComponent(a.
            default).getCurActor();
                var t = this;
                this.curSpine.setCompleteListener(function(e) {
                    "Death" == (e.animation ? e.animation.name: "") && t.doMyClear()
                }),
                this._curScaleY = this.node.scaleY
            },
            e.prototype.onEnable = function() {
                var t = this;
                this._isDead = !1,
                this.curSpine.setAnimation(0, "Move", !0),
                this._actorNode.getPosition().x > this.node.x ? this.node.angle = 150 * -Math.random() - 10 : this.node.angle = 150 * Math.random() + 10,
                cc.tween(this.node).delay(8).call(function() {
                    t.doDead()
                }).start(),
                this.initTrack2()
            },
            e.prototype.onCollisionEnter = function() {
                this._isDead || this.doDead()
            },
            e.prototype.doDead = function() {
                this.node.stopAllActions(),
                this._isDead = !0,
                this.curSpine.setAnimation(0, "Death", !1)
            },
            e.prototype.trackTarget = function() {
                if (null != this._actorNode) {
                    var t = this._actorNode.getPosition().clone();
                    t.y += 100;
                    var e = this.node.getPosition(),
                    o = i.
                default.getInstance()._myEnemyTimeScale,
                    n = t.sub(e),
                    a = e.sub(t).mag(),
                    r = e.x + this._speed * this._timeScale * o * n.x / a,
                    s = e.y + this._speed * this._timeScale * o * n.y / a,
                    c = cc.v2(r, s);
                    this.node.setPosition(c);
                    var l = e.x,
                    d = e.y,
                    u = 180 * Math.atan2(s - d, r - l) / Math.PI;
                    u = (360 + u) % 360,
                    this.node.angle = u,
                    n.x > 0 ? this.node.scaleY = 1 * this._curScaleY: this.node.scaleY = -1 * this._curScaleY
                }
            },
            e.prototype.initTrack2 = function() {
                var t = this._actorNode.getPosition().clone(),
                e = this.node.getPosition();
                this._dir = 100 * Math.random() > 50 ? -1 : 1;
                var o = t.x - e.x;
                this._cps = [],
                this._curTime = 0,
                this._lastPos = cc.v2(),
                this._timeScale = .5,
                this._cps.push([e.x, e.y]),
                this._cps.push([e.x + .4 * o, e.y + .8 * o * this._dir]),
                this._cps.push([e.x + .8 * o, e.y + .8 * o * this._dir]),
                this._cps.push([t.x, t.y + this._dir * Math.random() * 50])
            },
            e.prototype.trackTarget2 = function(t) {
                if (this._curTime > 1) this.trackTarget(t);
                else {
                    var e = i.
                default.getInstance()._myEnemyTimeScale;
                    this._curTime += t * this._timeScale * e;
                    var o = n.
                default.getPoint(this._cps, this._curTime),
                    a = cc.v2(o[0], o[1]),
                    r = a.sub(this._lastPos).normalize();
                    this.node.angle = 90 + 180 * cc.v2(0, 1).signAngle(r) / Math.PI,
                    this.node.setPosition(a),
                    this._lastPos = a,
                    r.x > 0 ? this.node.scaleY = 1 * this._curScaleY: this.node.scaleY = -1 * this._curScaleY
                }
            },
            e.prototype.trackTarget3 = function() {
                if (null != this._actorNode) {
                    var t = this._actorNode.getPosition().clone();
                    t.y += 100;
                    var e = this.node.getPosition(),
                    o = t.sub(e),
                    n = e.x,
                    i = e.y,
                    a = 180 * cc.v2(0, 1).signAngle(o.normalize()) / Math.PI;
                    console.log("deltaRotation ", a);
                    var r = this.node.angle,
                    s = r + 1 * (a - r);
                    console.log("_newP ", s),
                    this.node.angle = s;
                    var c = n + Math.cos(cc.misc.degreesToRadians(s)) * this._speed,
                    l = i + Math.sin(cc.misc.degreesToRadians(s)) * this._speed;
                    this.node.setPosition(cc.v2(c, l)),
                    o.x > 0 ? this.node.scaleY = 1 * this._curScaleY: this.node.scaleY = -1 * this._curScaleY
                }
            },
            e.prototype.update = function(t) {
                i.
            default.getInstance()._isGamePause || this._isDead || this.trackTarget2(t)
            },
            __decorate([l(sp.Skeleton)], e.prototype, "curSpine", void 0),
            __decorate([c], e)
        } (r.
    default);
        o.
    default = d,
        cc._RF.pop()
    },
    {
        "../../utils/BezierTool": "BezierTool",
        "../../utils/GameManager": "GameManager",
        "../GameControl": "GameControl",
        "./SkillBase": "SkillBase"
    }],
    BulletManager: [function(t, e, o) {
        "use strict";
        cc._RF.push(e, "18e8doFbw1BfYH62ONsMGNL", "BulletManager"),
        Object.defineProperty(o, "__esModule", {
            value: !0
        });
        var n = t("../utils/Emitter"),
        i = t("./ResManager"),
        a = t("../utils/GameManager"),
        r = cc._decorator,
        s = r.ccclass,
        c = r.property,
        l = function(t) {
            function e() {
                var e = null !== t && t.apply(this, arguments) || this;
                return e.bullet_Archer = null,
                e.bullet_Actor = null,
                e.bulletParent1 = null,
                e.bulletParent2 = null,
                e.myEnemyRoot = null,
                e.myTrailRoot = null,
                e._bulletPool = null,
                e._enemySkillPool = {},
                e
            }
            return __extends(e, t),
            e.prototype.setEnemyRoot = function(t) {
                this.myEnemyRoot = t
            },
            e.prototype.setTrailRoot = function(t) {
                this.myTrailRoot = t
            },
            e.prototype.onLoad = function() {
                n.
            default.getInstance().on("launch_Skill", this.doLaunchBullet, this),
                n.
            default.getInstance().on("common_Skill", this.doCommonSkill, this),
                n.
            default.getInstance().on("actor_bullet", this.doActorBullet, this);
                var t = a.
            default.getInstance().getData("selfEquipSelect"),
                e = 1; - 1 != t[0] && (e = t[0].index),
                this._bulletPool = new cc.NodePool("SkillBase"),
                this.bullet_Actor.getComponent(cc.Sprite).spriteFrame = i.
            default._instance.bullet_Actor.getSpriteFrame(e + "s"),
                this.bullet_Actor.parent = null;
                for (var o = 0; o < 50; ++o) {
                    var r = cc.instantiate(this.bullet_Actor);
                    this._bulletPool.put(r)
                }
                this.setSkillPrefabPool("BoomEffect")
            },
            e.prototype.onDestroy = function() {
                n.
            default.getInstance().off("launch_Skill", this),
                n.
            default.getInstance().off("common_Skill", this),
                n.
            default.getInstance().off("actor_bullet", this),
                this._bulletPool.clear(),
                this.clearSkillPrefabPool(),
                this._enemySkillPool = {}
            },
            e.prototype.setSkillPrefabPool = function(t) {
                if ("" != t) {
                    var e = this;
                    return new Promise(function(o) {
                        if (!e._enemySkillPool.hasOwnProperty(t)) {
                            e._enemySkillPool[t] = {},
                            e._enemySkillPool[t].pool = new cc.NodePool("SkillBase");
                            var n = new cc.Node(t);
                            e.bulletParent1.addChild(n),
                            e._enemySkillPool[t].node = n;
                            var i = -1 == t.indexOf("Damage") ? 5 : 30;
                            a.
                        default.getInstance().getMyPrefab("skillPrefabs/" + t).then(function(o) {
                                for (var n = 0; n < i; ++n) {
                                    var a = cc.instantiate(o);
                                    e._enemySkillPool[t].pool.put(a),
                                    e._enemySkillPool[t].data = o
                                }
                            })
                        }
                        o()
                    })
                }
            },
            e.prototype.getSkillFromPool = function(t) {
                if ("" == t || "none" == t) return null;
                if (this._enemySkillPool.hasOwnProperty(t)) {
                    var e = null,
                    o = this._enemySkillPool[t];
                    if (o.pool.size() > 0) e = o.pool.get(o.pool);
                    else {
                        var n = cc.instantiate(o.data);
                        o.pool.put(n),
                        e = o.pool.get(o.pool)
                    }
                    return e
                }
                return null
            },
            e.prototype.clearSkillPrefabPool = function() {
                for (var t in this._enemySkillPool) if (this._enemySkillPool.hasOwnProperty(t)) {
                    var e = this._enemySkillPool[t];
                    e.pool.clear(),
                    e.data = null
                }
            },
            e.prototype.doCommonSkill = function(t) {
                var e = this.getSkillFromPool(t.name);
                if (e) {
                    e.group = t.objStr,
                    e.setPosition(t.startPos);
                    var o = e.getComponent("SkillBase");
                    o.toPos = t.toPos,
                    o.hitHurt = t.hit,
                    o.isAllHit = t.allHit,
                    t.area && (e.scale = t.area / e.width),
                    this._enemySkillPool[t.name].node.addChild(e)
                }
            },
            e.prototype.doLaunchBullet = function(t) {
                var e = this.getSkillFromPool(t.name);
                if (e) {
                    e.setPosition(t.startPos);
                    var o = e.getComponent("SkillBase");
                    o.toPos = t.toPos,
                    o.maxDis = t.maxDis,
                    o.hitHurt = t.hit,
                    t.kind ? o._kind = t.kind: o._kind = 1,
                    t.area && (e.scale = t.area / e.width);
                    var n = e.getChildByName("trail");
                    a.
                default.getInstance()._removeTail && n ? n.active = !1 : n || (o.trailNode = this.myTrailRoot.getActorBullet()),
                    this._enemySkillPool[t.name].node.addChild(e)
                }
            },
            e.prototype.doActorBullet = function(t) {
                var e = t.skill,
                o = 8 & e,
                n = 2 & e,
                i = 16 & e;
                4 & e ? (this.actorBulletLaunch(t.hurt, cc.v2(t.startpos.x, t.startpos.y - 20), t.dir, 1, !1), this.actorBulletLaunch(t.hurt, cc.v2(t.startpos.x, t.startpos.y + 20), t.dir, 1, o)) : this.actorBulletLaunch(t.hurt, t.startpos, t.dir, 1, o),
                n && (this.actorBulletLaunch(t.hurt, t.startpos, t.dir, 2, !1), this.actorBulletLaunch(t.hurt, t.startpos, t.dir, 3, !1)),
                i && this.actorBulletLaunch(t.hurt, t.startpos, -1 * t.dir, 1, !1)
            },
            e.prototype.actorBulletLaunch = function(t, e, o, n, i) {
                var r = this,
                s = this.getActorBullet();
                s.setPosition(e);
                var c = s.getComponent("BulletActor");
                if (c._launchKind = n, c._dir = o, c._isTrack = !1, c.hitHurt = t, a.
            default.getInstance()._removeTail || (c.trailNode = this.myTrailRoot.getActorBullet()), this.bulletParent2.addChild(s), i) {
                    var l = this.getActorBullet();
                    l.setPosition(e);
                    var d = l.getComponent("BulletActor");
                    d._launchKind = n,
                    d._dir = o,
                    d._isTrack = !0,
                    d.hitHurt = t,
                    a.
                default.getInstance()._removeTail || (d.trailNode = this.myTrailRoot.getActorBullet());
                    var u = 200 * Math.random() - 60,
                    h = 200 * Math.random() * o * -1;
                    cc.tween(l).to(.2, {
                        position: cc.v2(e.x + h, e.y + u),
                        angle: 720 * o * -1
                    }).call(function() {
                        var t = r.myEnemyRoot.getNearEnemy();
                        t || (t = l.x + 2e3 * o),
                        d.setTargetPos(cc.v2(t, e.y))
                    }).start(),
                    this.bulletParent2.addChild(l)
                }
            },
            e.prototype.getActorBullet = function() {
                var t = null;
                if (this._bulletPool.size() > 0) t = this._bulletPool.get(this._bulletPool);
                else {
                    var e = cc.instantiate(this.bullet_Actor);
                    this._bulletPool.put(e),
                    t = this._bulletPool.get(this._bulletPool)
                }
                return t
            },
            __decorate([c(cc.Prefab)], e.prototype, "bullet_Archer", void 0),
            __decorate([c(cc.Node)], e.prototype, "bullet_Actor", void 0),
            __decorate([c({
                type: cc.Node,
                tooltip: "\u654c\u4eba\u5b50\u5f39\u5c42"
            })], e.prototype, "bulletParent1", void 0),
            __decorate([c({
                type: cc.Node,
                tooltip: "\u4e3b\u89d2\u5b50\u5f39\u5c42"
            })], e.prototype, "bulletParent2", void 0),
            __decorate([s], e)
        } (cc.Component);
        o.
    default = l,
        cc._RF.pop()
    },
    {
        "../utils/Emitter": "Emitter",
        "../utils/GameManager": "GameManager",
        "./ResManager": "ResManager"
    }],
    BulletSpin: [function(t, e, o) {
        "use strict";
        cc._RF.push(e, "c12f60WFvNKOYBsDwfA5E3n", "BulletSpin"),
        Object.defineProperty(o, "__esModule", {
            value: !0
        });
        var n = t("./SkillBase"),
        i = t("../../utils/GameManager"),
        a = cc._decorator,
        r = a.ccclass,
        s = a.property,
        c = function(t) {
            function e() {
                var e = null !== t && t.apply(this, arguments) || this;
                return e.myDelay = 0,
                e._maxW = 200,
                e._maxH = 50,
                e._offH = 20,
                e._startPos = cc.v2(),
                e._endPos = cc.v2(),
                e._timeScale = 1,
                e
            }
            return __extends(e, t),
            e.prototype.onEnable = function() {
                this._isKeep = !0,
                this._startPos = cc.v2( - this._maxW, this._maxH),
                this._endPos = cc.v2(this._maxW, this._maxH),
                this.node.setPosition(this._startPos),
                this._timeScale = 1 / i.
            default.getInstance()._myEnemyTimeScale,
                cc.tween(this.node).by(.5 * this._timeScale, {
                    angle: 720
                }).repeatForever().start(),
                this.scheduleOnce(function() {
                    this.doAction1()
                },
                .4 * this.myDelay)
            },
            e.prototype.onDisable = function() {
                this.node.stopAllActions()
            },
            e.prototype.doAction1 = function() {
                var t = this;
                this.node.setSiblingIndex(10),
                cc.tween(this.node).bezierTo(.6 * this._timeScale, cc.v2(this._startPos.x + .5 * this._maxW, this._startPos.y - this._offH), cc.v2(this._endPos.x - .5 * this._maxW, this._endPos.y - this._offH), this._endPos).call(function() {
                    t.doAction2()
                }).start()
            },
            e.prototype.doAction2 = function() {
                var t = this;
                this.node.setSiblingIndex(0),
                cc.tween(this.node).bezierTo(.6 * this._timeScale, cc.v2(this._endPos.x - .5 * this._maxW, this._endPos.y + this._offH), cc.v2(this._startPos.x + .5 * this._maxW, this._startPos.y + this._offH), this._startPos).call(function() {
                    t.doAction1()
                }).start()
            },
            __decorate([s], e.prototype, "myDelay", void 0),
            __decorate([r], e)
        } (n.
    default);
        o.
    default = c,
        cc._RF.pop()
    },
    {
        "../../utils/GameManager": "GameManager",
        "./SkillBase": "SkillBase"
    }],
    BulletTempt: [function(t, e, o) {
        "use strict";
        cc._RF.push(e, "067480GTc1NKo0LH2dxbZds", "BulletTempt"),
        Object.defineProperty(o, "__esModule", {
            value: !0
        });
        var n = t("./SkillBase"),
        i = cc._decorator,
        a = i.ccclass,
        r = i.property,
        s = function(t) {
            function e() {
                var e = null !== t && t.apply(this, arguments) || this;
                return e.curNode = null,
                e
            }
            return __extends(e, t),
            e.prototype.onEnable = function() {
                this.curNode.active = !0,
                this.launchBullet()
            },
            e.prototype.launchBullet = function() {
                var t = 100,
                e = 50,
                o = this.node.getPosition().clone(),
                n = [];
                t *= o.x - this.toPos.x > 0 ? -1 : 1;
                for (var i = 0; i < 8; i++) {
                    i % 2 == 0 && (e *= -1),
                    o.addSelf(cc.v2(t, e));
                    var a = cc.moveTo(.3, o);
                    n.push(a)
                }
                n.push(cc.callFunc(this.endCall, this)),
                this.node.runAction(cc.sequence(n))
            },
            e.prototype.endCall = function() {
                this.curNode.active = !1,
                this.scheduleOnce(function() {
                    this.doMyClear()
                },
                .5)
            },
            __decorate([r(cc.Node)], e.prototype, "curNode", void 0),
            __decorate([a], e)
        } (n.
    default);
        o.
    default = s,
        cc._RF.pop()
    },
    {
        "./SkillBase": "SkillBase"
    }],
    BuyPowerNode: [function(t, e, o) {
        "use strict";
        cc._RF.push(e, "b5bf1DKHllNOrYxmJiTthXm", "BuyPowerNode"),
        Object.defineProperty(o, "__esModule", {
            value: !0
        });
        var n = t("../../data/shopConfig"),
        i = t("../../utils/AudioMgr"),
        a = t("../../utils/GameManager"),
        r = cc._decorator,
        s = r.ccclass,
        c = (r.property,
        function(t) {
            function e() {
                return null !== t && t.apply(this, arguments) || this
            }
            return __extends(e, t),
            e.prototype.start = function() {},
            e.prototype.closeBtnCall = function() {
                i.
            default.getInstance().playButton(),
                this.node.getComponent("windowOpenEffect").closePanel()
            },
            e.prototype.stoneBuyBtnCall = function() {
                a.
            default.getInstance().expendStone(100) ? (a.
            default.getInstance().getAwardsByKind({
                    awardId:
                    n.myAwardEnum.power,
                    num: 20
                },
                !0), this.closeBtnCall(null, null)) : a.
            default.getInstance().showToast("\u94bb\u77f3\u4e0d\u8db3")
            },
            e.prototype.videoBtnCall = function() {
                var t = this;
                cc.adCtl.showVideo(function(e) {
                    1 == e && (a.
                default.getInstance().getAwardsByKind({
                        awardId:
                        n.myAwardEnum.power,
                        num: 5
                    },
                    !0), t.closeBtnCall(null, null))
                }),
                cc.adCtl.umengEvent("home_power")
            },
            __decorate([s], e)
        } (cc.Component));
        o.
    default = c,
        cc._RF.pop()
    },
    {
        "../../data/shopConfig": "shopConfig",
        "../../utils/AudioMgr": "AudioMgr",
        "../../utils/GameManager": "GameManager"
    }],
    CommonSkill: [function(t, e, o) {
        "use strict";
        cc._RF.push(e, "acf7dhsOW5ID5nGNVlD+67R", "CommonSkill"),
        Object.defineProperty(o, "__esModule", {
            value: !0
        });
        var n = t("../control/enemy/BaseEnemy"),
        i = t("../data/enemyInfoEnum"),
        a = t("../data/skillGroup"),
        r = t("../utils/Emitter"),
        s = cc._decorator,
        c = s.ccclass,
        l = s.property,
        d = function(t) {
            function e() {
                var e = null !== t && t.apply(this, arguments) || this;
                return e.isUseCommonHit = !1,
                e.isTriggerActAni = !1,
                e.hurtNum = 0,
                e.minTrigger = 0,
                e.maxTrigger = 1e3,
                e.skillDelayCommon = 300,
                e.skillDelayHard = 300,
                e.mySkillprafabSkill = i.skillPrefabKind.none,
                e.isUseSkillGroup = !1,
                e.curSkillGroup = [],
                e._isFly = !1,
                e
            }
            return __extends(e, t),
            e.prototype.initSkill = function(t) {
                this.getComponent(n.
            default).addSkillData(t),
                r.
            default.getInstance().emit("loadSkillPool", {
                    mySkillprafabSkill: this.mySkillprafabSkill
                })
            },
            e.prototype.doSkillGroup = function(t) {
                if (this.isUseSkillGroup) {
                    for (var e = cc.tween(this.node), o = this.getComponent("BaseEnemy")._spineAct, n = function(t) {
                        var n = i.curSkillGroup[t];
                        e.call(function() {
                            o.setAnimation(0, n.skillName, n.isloop)
                        }).delay(n.times)
                    },
                    i = this, a = 0; a < this.curSkillGroup.length; a++) n(a);
                    e.call(function() {
                        t()
                    }).start()
                } else t()
            },
            __decorate([l({
                tooltip: "\u662f\u5426\u9002\u7528\u4e8e\u666e\u901a"
            })], e.prototype, "isUseCommonHit", void 0),
            __decorate([l({
                tooltip: "\u662f\u5426\u653b\u51fb\u52a8\u4f5c\u89e6\u53d1\u6280\u80fd"
            })], e.prototype, "isTriggerActAni", void 0),
            __decorate([l({
                tooltip: "\u4f24\u5bb3"
            })], e.prototype, "hurtNum", void 0),
            __decorate([l({
                tooltip: "\u6700\u5c0f\u89e6\u53d1\u8ddd\u79bb(\u7edd\u5bf9\u503c)"
            })], e.prototype, "minTrigger", void 0),
            __decorate([l({
                tooltip: "\u6700\u5927\u89e6\u53d1\u8ddd\u79bb(\u7edd\u5bf9\u503c)"
            })], e.prototype, "maxTrigger", void 0),
            __decorate([l({
                tooltip: "\u6280\u80fd\u95f4\u9694 \u666e\u901a(\u5e27)"
            })], e.prototype, "skillDelayCommon", void 0),
            __decorate([l({
                tooltip: "\u6280\u80fd\u95f4\u9694 \u56f0\u96be(\u5e27)"
            })], e.prototype, "skillDelayHard", void 0),
            __decorate([l({
                type: cc.Enum(i.skillPrefabKind),
                tooltip: "\u6280\u80fd\u9884\u5236\u4f53\u7c7b\u578b"
            })], e.prototype, "mySkillprafabSkill", void 0),
            __decorate([l], e.prototype, "isUseSkillGroup", void 0),
            __decorate([l({
                visible: function() {
                    return this.isUseSkillGroup
                },
                type: [a.
            default]
            })], e.prototype, "curSkillGroup", void 0),
            __decorate([c], e)
        } (cc.Component);
        o.
    default = d,
        cc._RF.pop()
    },
    {
        "../control/enemy/BaseEnemy": "BaseEnemy",
        "../data/enemyInfoEnum": "enemyInfoEnum",
        "../data/skillGroup": "skillGroup",
        "../utils/Emitter": "Emitter"
    }],
    CoverHitSkill: [function(t, e, o) {
        "use strict";
        cc._RF.push(e, "6c341CQ5uJCLr2GJkjY3hYa", "CoverHitSkill"),
        Object.defineProperty(o, "__esModule", {
            value: !0
        });
        var n = t("./CommonSkill"),
        i = t("../utils/myConfigManager"),
        a = t("../utils/Emitter"),
        r = cc._decorator,
        s = r.ccclass,
        c = (r.property,
        function(t) {
            function e() {
                return null !== t && t.apply(this, arguments) || this
            }
            return __extends(e, t),
            e.prototype.onLoad = function() {
                this.initSkill(this)
            },
            e.prototype.doSkill = function(t, e) {
                var o = this;
                return new Promise(function(t) {
                    for (var n = o.node.getPosition(), r = 0; r < 8; r++) {
                        var s = cc.v2(200 * r - 800, e.y),
                        c = i.
                    default.getInstance().getNameBySkillPrefabKind(o.mySkillprafabSkill);
                        a.
                    default.getInstance().emit("launch_Skill", {
                            name: c,
                            startPos: n,
                            toPos: s,
                            maxDis: o.maxTrigger,
                            hit: o.hurtNum,
                            kind: 2
                        })
                    }
                    t()
                })
            },
            __decorate([s], e)
        } (n.
    default));
        o.
    default = c,
        cc._RF.pop()
    },
    {
        "../utils/Emitter": "Emitter",
        "../utils/myConfigManager": "myConfigManager",
        "./CommonSkill": "CommonSkill"
    }],
    DashSkill: [function(t, e, o) {
        "use strict";
        cc._RF.push(e, "83156GfcY1KV7DBfG5jIpUW", "DashSkill"),
        Object.defineProperty(o, "__esModule", {
            value: !0
        });
        var n = t("./CommonSkill"),
        i = t("../data/enemyInfoEnum"),
        a = t("../utils/AudioMgr"),
        r = t("../utils/GameManager"),
        s = cc._decorator,
        c = s.ccclass,
        l = (s.property,
        function(t) {
            function e() {
                var e = null !== t && t.apply(this, arguments) || this;
                return e._attackBox = null,
                e
            }
            return __extends(e, t),
            e.prototype.onLoad = function() {
                var t = this.node.getChildByName("attackBox");
                t && (this._attackBox = t.getComponent(cc.BoxCollider), this._attackBox.enabled = !1),
                this.initSkill(this)
            },
            e.prototype.doSkill = function(t, e) {
                return "Tauren" == this.node.name ? this.doTauren(t, e) : "Knight" == this.node.name ? this.doKnight(t, e) : "Catapult" == this.node.name ? this.doCatapult(t, e) : void 0
            },
            e.prototype.doTauren = function(t, e) {
                var o = this;
                return new Promise(function(t) {
                    var n = o.getComponent("BaseEnemy")._spineAct,
                    s = 1 / r.
                default.getInstance()._myEnemyTimeScale;
                    cc.tween(o.node).call(function() {
                        n.setAnimation(0, "MoveStart", !1),
                        a.
                    default.getInstance().playSFX("enemyHit_Orc_2")
                    }).delay(.3 * s).call(function() {
                        n.setAnimation(0, "Run", !1)
                    }).to(.5 * s, {
                        position: e
                    }).call(function() {
                        n.setAnimation(0, "MoveEnd", !1)
                    }).delay(.3 * s).call(function() {
                        t(i.soldierSkillKind.normalAttack)
                    }).start()
                })
            },
            e.prototype.doKnight = function() {
                var t = this,
                e = this.node.x + 1e3 * t.node.scale;
                return new Promise(function(o) {
                    t._attackBox && (t._attackBox.node.getComponent("SkillBase").hitHurt = 2 * t.hurtNum);
                    var n = t.getComponent("BaseEnemy")._spineAct,
                    a = 1 / r.
                default.getInstance()._myEnemyTimeScale;
                    cc.tween(t.node).call(function() {
                        n.setAnimation(0, "MoveStart", !1)
                    }).delay(.3 * a).call(function() {
                        t._attackBox && (t._attackBox.enabled = !0),
                        n.setAnimation(0, "MoveAttack2", !0)
                    }).to(1 * a, {
                        x: e
                    }).call(function() {
                        t._attackBox && (t._attackBox.enabled = !1),
                        o(i.soldierSkillKind.none)
                    }).start()
                })
            },
            e.prototype.doCatapult = function() {
                var t = this,
                e = this.node.x + 1e3 * t.node.scale;
                return new Promise(function(o) {
                    t._attackBox && (t._attackBox.node.getComponent("SkillBase").hitHurt = 2 * t.hurtNum),
                    t.getComponent("BaseEnemy")._spineAct.setAnimation(0, "Move", !0);
                    var n = 1 / r.
                default.getInstance()._myEnemyTimeScale;
                    t._attackBox && (t._attackBox.enabled = !0),
                    cc.tween(t.node).to(1 * n, {
                        x: e
                    }).call(function() {
                        t._attackBox && (t._attackBox.enabled = !1),
                        o(i.soldierSkillKind.none)
                    }).start()
                })
            },
            __decorate([c], e)
        } (n.
    default));
        o.
    default = l,
        cc._RF.pop()
    },
    {
        "../data/enemyInfoEnum": "enemyInfoEnum",
        "../utils/AudioMgr": "AudioMgr",
        "../utils/GameManager": "GameManager",
        "./CommonSkill": "CommonSkill"
    }],
    DelayShow: [function(t, e, o) {
        "use strict";
        cc._RF.push(e, "2cd44pbxcpDc6EmRv0sWwzC", "DelayShow"),
        Object.defineProperty(o, "__esModule", {
            value: !0
        });
        var n = cc._decorator,
        i = n.ccclass,
        a = (n.property,
        function(t) {
            function e() {
                return null !== t && t.apply(this, arguments) || this
            }
            return __extends(e, t),
            e.prototype.onLoad = function() {},
            e.prototype.start = function() {},
            __decorate([i], e)
        } (cc.Component));
        o.
    default = a,
        cc._RF.pop()
    },
    {}],
    DirectSkill: [function(t, e, o) {
        "use strict";
        cc._RF.push(e, "6115aziRetHo5JIGBTQN87L", "DirectSkill"),
        Object.defineProperty(o, "__esModule", {
            value: !0
        });
        var n = t("./CommonSkill"),
        i = t("../utils/myConfigManager"),
        a = t("../utils/Emitter"),
        r = cc._decorator,
        s = r.ccclass,
        c = (r.property,
        function(t) {
            function e() {
                return null !== t && t.apply(this, arguments) || this
            }
            return __extends(e, t),
            e.prototype.onLoad = function() {
                this.initSkill(this)
            },
            e.prototype.doSkill = function(t, e) {
                var o = this;
                return new Promise(function(t) {
                    var n = i.
                default.getInstance().getNameBySkillPrefabKind(o.mySkillprafabSkill),
                    r = o.node.getPosition(),
                    s = e;
                    o.doSkillGroup(function() {
                        a.
                    default.getInstance().emit("launch_Skill", {
                            name: n,
                            startPos: r,
                            toPos: s,
                            maxDis: o.maxTrigger,
                            hit: o.hurtNum,
                            kind: 1
                        }),
                        t()
                    })
                })
            },
            __decorate([s], e)
        } (n.
    default));
        o.
    default = c,
        cc._RF.pop()
    },
    {
        "../utils/Emitter": "Emitter",
        "../utils/myConfigManager": "myConfigManager",
        "./CommonSkill": "CommonSkill"
    }],
    DowntimeLabel: [function(t, e, o) {
        "use strict";
        cc._RF.push(e, "e8ddbX+MiBPf5m56VzRg5Nj", "DowntimeLabel"),
        Object.defineProperty(o, "__esModule", {
            value: !0
        });
        var n = t("./wyxTools"),
        i = cc._decorator,
        a = i.ccclass,
        r = i.property,
        s = function(t) {
            function e() {
                var e = null !== t && t.apply(this, arguments) || this;
                return e.curKey = "",
                e.delayTime = 300,
                e.frontString = "",
                e.BehindStirng = "",
                e.completeCall = null,
                e._curLabel = null,
                e._curTime = 0,
                e._completeCall = null,
                e
            }
            return __extends(e, t),
            e.prototype.onLoad = function() {
                var t = n.
            default.getIntData(this.curKey),
                e = Math.floor(.001 * (new Date).getTime());
                0 == t ? (n.
            default.setData(this.curKey, e + this.delayTime), this._curTime = this.delayTime) : this._curTime = t - e,
                this._curLabel = this.getComponent(cc.Label),
                this.schedule(this.upDownTime, 1),
                this.upDownTime(),
                this.scheduleOnce(function() {
                    this._curTime < 0 && this.doCallBack()
                },
                .1)
            },
            e.prototype.doCallBack = function() {
                n.
            default.remmoveData(this.curKey),
                this.completeCall.emit(null)
            },
            e.prototype.upDownTime = function() {
                if (this._curTime > 0) {
                    this._curTime--;
                    var t = this._curTime,
                    e = Math.floor(t / 60),
                    o = Math.floor(e / 60),
                    n = Math.floor(t % 60),
                    i = o >= 10 ? o + "": "0" + o + ":";
                    0 == o && (i = "");
                    var a = e >= 10 ? e + "": "0" + e + ":",
                    r = n >= 10 ? n + "": "0" + n;
                    this._curLabel.string = this.frontString + i + a + r + this.BehindStirng,
                    this._curTime <= 0 && (this._curLabel.string = "", this.doCallBack())
                }
            },
            __decorate([r], e.prototype, "curKey", void 0),
            __decorate([r], e.prototype, "delayTime", void 0),
            __decorate([r], e.prototype, "frontString", void 0),
            __decorate([r], e.prototype, "BehindStirng", void 0),
            __decorate([r(cc.Component.EventHandler)], e.prototype, "completeCall", void 0),
            __decorate([a], e)
        } (cc.Component);
        o.
    default = s,
        cc._RF.pop()
    },
    {
        "./wyxTools": "wyxTools"
    }],
    DragonBonesEffect: [function(t, e, o) {
        "use strict";
        cc._RF.push(e, "ffedbGIR5hGeKEsfkL2ZzXX", "DragonBonesEffect"),
        Object.defineProperty(o, "__esModule", {
            value: !0
        });
        var n = cc._decorator,
        i = n.ccclass,
        a = n.property,
        r = function(t) {
            function e() {
                var e = null !== t && t.apply(this, arguments) || this;
                return e.nPlayName = "playEffect",
                e._armatureDisplay = null,
                e
            }
            return __extends(e, t),
            e.prototype.onLoad = function() {
                this._armatureDisplay = this.getComponent(dragonBones.ArmatureDisplay),
                this._armatureDisplay.addEventListener(dragonBones.EventObject.COMPLETE, this._animationEventHandler, this),
                this._armatureDisplay.playAnimation(this.nPlayName, 1)
            },
            e.prototype.start = function() {},
            e.prototype._animationEventHandler = function() {
                this.node.removeFromParent()
            },
            __decorate([a], e.prototype, "nPlayName", void 0),
            __decorate([i], e)
        } (cc.Component);
        o.
    default = r,
        cc._RF.pop()
    },
    {}],
    DropAwardManager: [function(t, e, o) {
        "use strict";
        cc._RF.push(e, "a3c3cluEadI+pWH9dsGWBvW", "DropAwardManager"),
        Object.defineProperty(o, "__esModule", {
            value: !0
        });
        var n = t("../utils/Emitter"),
        i = t("../utils/myConfigManager"),
        a = t("../data/shopConfig"),
        r = t("./ResManager"),
        s = t("../utils/AudioMgr"),
        c = cc._decorator,
        l = c.ccclass,
        d = c.property,
        u = function(t) {
            function e() {
                var e = null !== t && t.apply(this, arguments) || this;
                return e.dropItem = null,
                e.dropRoot = null,
                e.effectRoot = null,
                e.dropEffectList = [],
                e._curDropList = [],
                e._defaultY = -180,
                e
            }
            return __extends(e, t),
            e.prototype.onLoad = function() {
                n.
            default.getInstance().on("myDropAwardManager", this.myDropAwardManager, this)
            },
            e.prototype.onDestroy = function() {
                n.
            default.getInstance().off("myDropAwardManager", this)
            },
            e.prototype.myDropAwardManager = function(t) {
                "drop" == t.name ? (s.
            default.getInstance().playSFX("dropEffect"), this.doDrop(t.list, t.pos)) : "get" == t.name && this.doGet(t.target)
            },
            e.prototype.doDrop = function(t, e) {
                for (var o = 0; o < t.length; o++) {
                    var n = t[o],
                    c = "",
                    l = 100 * Math.random() + 50,
                    d = 200 * Math.random() + 200,
                    u = e,
                    h = 2 * Math.random() - 1,
                    p = cc.v2(u.x + h * d, this._defaultY),
                    f = cc.instantiate(this.dropItem);
                    n.kind == a.myAwardEnum.rune ? c = i.
                default.getInstance().getNameByAwardKind(n.kind, n.data.kind) + n.data.lv: n.kind >= a.myAwardEnum.weapon && n.kind <= a.myAwardEnum.accessories ? (c = i.
                default.getInstance().getNameByAwardKind(n.kind) + n.data.index, n.data.quality >= 2 && this.doShowEquip(p, n.data.quality - 2), s.
                default.getInstance().playSFX("equip_drop")):
                    (f.setScale(.8), c = i.
                default.getInstance().getNameByAwardKind(n.kind)),
                    f.active = !0,
                    f.setPosition(e),
                    f.getComponent(cc.Sprite).spriteFrame = r.
                default._instance.DropAward.getSpriteFrame(c),
                    this.dropRoot.addChild(f),
                    this._curDropList.push({
                        node: f,
                        data: n
                    }),
                    cc.tween(f).then(cc.jumpTo(.4, cc.v2(u.x + h * d * .33, this._defaultY), l, 1)).then(cc.jumpTo(.3, cc.v2(u.x + h * d * .66, this._defaultY), .5 * l, 1)).then(cc.jumpTo(.3, cc.v2(u.x + h * d, this._defaultY), .2 * l, 1)).call(function() {}).start()
                }
            },
            e.prototype.doShowEquip = function(t, e) {
                e >= this.dropEffectList.length && (e = this.dropEffectList.length - 1);
                var o = cc.instantiate(this.dropEffectList[e]),
                n = cc.v2(t.x, t.y - 50);
                o.setPosition(cc.v2(t.x, t.y + 400)),
                o.scaleY = 0,
                this.effectRoot.addChild(o),
                cc.tween(o).delay(1).then(cc.spawn(cc.scaleTo(.1, 2), cc.moveTo(.1, n))).start()
            },
            e.prototype.doGet = function(t) {
                this.effectRoot.removeAllChildren(),
                this._curDropList.forEach(function(e) {
                    var o = e.node.getComponent("iconTrack");
                    o.setTrackObj(t),
                    e.data.kind == a.myAwardEnum.gold && o.setGoldNum(e.data.num)
                }),
                this._curDropList = []
            },
            __decorate([d(cc.Node)], e.prototype, "dropItem", void 0),
            __decorate([d(cc.Node)], e.prototype, "dropRoot", void 0),
            __decorate([d(cc.Node)], e.prototype, "effectRoot", void 0),
            __decorate([d([cc.Prefab])], e.prototype, "dropEffectList", void 0),
            __decorate([l], e)
        } (cc.Component);
        o.
    default = u,
        cc._RF.pop()
    },
    {
        "../data/shopConfig": "shopConfig",
        "../utils/AudioMgr": "AudioMgr",
        "../utils/Emitter": "Emitter",
        "../utils/myConfigManager": "myConfigManager",
        "./ResManager": "ResManager"
    }],
    DropSkill: [function(t, e, o) {
        "use strict";
        cc._RF.push(e, "b4fa9uphclDY55uvN1aHFsN", "DropSkill"),
        Object.defineProperty(o, "__esModule", {
            value: !0
        });
        var n = t("../utils/Emitter"),
        i = t("../utils/GameManager"),
        a = t("../utils/myConfigManager"),
        r = t("./CommonSkill"),
        s = cc._decorator,
        c = s.ccclass,
        l = s.property,
        d = function(t) {
            function e() {
                var e = null !== t && t.apply(this, arguments) || this;
                return e.launchTimes = 1,
                e.dropDelay = 1,
                e._targetObj = null,
                e._shootData = {},
                e._hitTime = 0,
                e._hitDelay = 0,
                e._defaultHitDelay = 0,
                e
            }
            return __extends(e, t),
            e.prototype.onLoad = function() {
                var t = this.getComponent("BaseEnemy");
                this._targetObj = t._actorRoot.ActorNode,
                this.initSkill(this)
            },
            e.prototype.doSkill = function(t, e) {
                var o = this;
                return new Promise(function(t) {
                    var n = a.
                default.getInstance().getNameBySkillPrefabKind(o.mySkillprafabSkill),
                    i = o.node.getPosition(),
                    r = e;
                    o._shootData = {
                        name: n,
                        startPos: i,
                        toPos: r,
                        maxDis: o.maxTrigger,
                        hit: o.hurtNum,
                        kind: 1
                    },
                    o._hitTime = o.launchTimes,
                    o._defaultHitDelay = 60 * o.dropDelay,
                    o.doSkillGroup(function() {
                        o.doEffectShield(t) && t()
                    })
                })
            },
            e.prototype.startShoot = function() {
                this._shootData.startPos = this._targetObj.getPosition(),
                n.
            default.getInstance().emit("launch_Skill", this._shootData)
            },
            e.prototype.doEffectShield = function(t) {
                var e = this,
                o = e.node.getChildByName("effectShield");
                return ! o || (e.getComponent("BaseEnemy")._spineAct.setAnimation(0, "Stun", !0), e.node.getComponent(cc.BoxCollider).enabled = !1, o.active = !0, o.getComponent(dragonBones.ArmatureDisplay).playAnimation("show", -1), cc.tween(o).delay(5).call(function() {
                    o.getComponent(dragonBones.ArmatureDisplay).playAnimation("hide", 1)
                }).delay(.3).call(function() {
                    e.node.getComponent(cc.BoxCollider).enabled = !0,
                    o.active = !1
                }).start(), cc.tween(e.node).delay(6).call(function() {
                    t()
                }).start(), !1)
            },
            e.prototype.update = function() {
                i.
            default.getInstance()._isGamePause || this._hitTime > 0 && (this._hitDelay--, this._hitDelay <= 0 && (this._hitTime--, this._hitDelay = this._defaultHitDelay, this.startShoot()))
            },
            __decorate([l({
                tooltip: "\u6bcf\u6b21\u53d1\u5c04\u4e2a\u6570"
            })], e.prototype, "launchTimes", void 0),
            __decorate([l({
                tooltip: "\u6389\u843d\u95f4\u9694"
            })], e.prototype, "dropDelay", void 0),
            __decorate([c], e)
        } (r.
    default);
        o.
    default = d,
        cc._RF.pop()
    },
    {
        "../utils/Emitter": "Emitter",
        "../utils/GameManager": "GameManager",
        "../utils/myConfigManager": "myConfigManager",
        "./CommonSkill": "CommonSkill"
    }],
    EffectManager: [function(t, e, o) {
        "use strict";
        cc._RF.push(e, "5b83dlEh11Dr6RhIVn8MQ0l", "EffectManager"),
        Object.defineProperty(o, "__esModule", {
            value: !0
        });
        var n = t("../utils/Emitter"),
        i = t("../data/enemyInfoEnum"),
        a = cc._decorator,
        r = a.ccclass,
        s = a.property,
        c = function(t) {
            function e() {
                var e = null !== t && t.apply(this, arguments) || this;
                return e.showLabel = null,
                e.fontRoot = null,
                e.hpEnemyRoot = null,
                e.effectRoot = null,
                e.particleRoot = null,
                e.hurtStateSp = [],
                e.LabelNodePool = null,
                e.effectCtlList = {},
                e.particleCtlList = {},
                e
            }
            return __extends(e, t),
            e.prototype.onLoad = function() {
                n.
            default.getInstance().on("showblood", this.showblood, this),
                n.
            default.getInstance().on("setHpParent", this.setHpParent, this),
                n.
            default.getInstance().on("showEffect", this.showEffect, this),
                n.
            default.getInstance().on("showParticle", this.showParticle, this),
                n.
            default.getInstance().on("recycleEffect", this.recycleEffect, this),
                this.initSelfPool()
            },
            e.prototype.onDestroy = function() {
                for (var t in n.
            default.getInstance().off("showblood", this), n.
            default.getInstance().off("setHpParent", this), n.
            default.getInstance().off("showEffect", this), n.
            default.getInstance().off("showParticle", this), n.
            default.getInstance().off("recycleEffect", this), this.LabelNodePool.clear(), this.effectCtlList) Object.prototype.hasOwnProperty.call(this.effectCtlList, t) && this.effectCtlList[t].pool.clear();
                this.effectCtlList = {}
            },
            e.prototype.initSelfPool = function() {
                var t = this;
                this.LabelNodePool = new cc.NodePool;
                for (var e = 0; e < 30; ++e) {
                    var o = cc.instantiate(this.showLabel);
                    this.LabelNodePool.put(o)
                }
                this.effectRoot.children.forEach(function(e) {
                    t.effectCtlList[e.name] = {},
                    t.effectCtlList[e.name].pool = new cc.NodePool("");
                    var o = new cc.Node(e.name);
                    o.group = e.group,
                    t.node.addChild(o),
                    t.effectCtlList[e.name].rootNode = o;
                    for (var n = 0; n < 10; n++) {
                        var i = cc.instantiate(e);
                        i.active = !0,
                        t.effectCtlList[e.name].pool.put(i)
                    }
                }),
                this.particleRoot.children.forEach(function(e) {
                    t.particleCtlList[e.name] = e
                })
            },
            e.prototype.showblood = function(t) {
                var e = this,
                o = 50 * Math.random() + 50,
                n = 50 * Math.random() + 100,
                i = 20 * Math.random() + 10,
                a = 1;
                cc.Color.WHITE.equals(t.kind) || (o += 10, n += 10),
                cc.Color.ORANGE.equals(t.kind) && (o = 150, a = 1.5);
                var r = t.startPos,
                s = cc.v2(r.x + t.dir * n, r.y - i),
                c = this.LabelNodePool.get();
                c || (c = cc.instantiate(this.showLabel)),
                c.getComponent(cc.Label).string = t.num,
                c.setPosition(r),
                c.color = t.kind,
                c.scale = a;
                var l = c.getChildByName("icon");
                t.icon ? (l.active = !0, l.getComponent(cc.Sprite).spriteFrame = this.hurtStateSp[t.icon - 1]) : l.active = !1,
                this.fontRoot.addChild(c),
                cc.tween(c).bezierTo(1, cc.v2(r.x, r.y + o), cc.v2(s.x, s.y + o), s).call(function() {
                    e.LabelNodePool.put(c)
                }).start()
            },
            e.prototype.setHpParent = function(t) {
                this.hpEnemyRoot.addChild(t.node)
            },
            e.prototype.showEffect = function(t) {
                var e = this;
                if (t.kind == i.effectManagerKind.du) {
                    var o = this.effectCtlList.effectskull.pool.get();
                    o && (this.effectCtlList.effectskull.rootNode.addChild(o), o.setPosition(t.pos), o.scale = 1, o.opacity = 255, o.getComponent(dragonBones.ArmatureDisplay).playAnimation("Sprite", 1), cc.tween(o).to(.5, {
                        scale: 2,
                        opacity: 100,
                        y: t.pos.y + 100
                    }).call(function() {
                        e.effectCtlList.effectskull.pool.put(o)
                    }).start())
                } else if (t.kind == i.effectManagerKind.frozen) {
                    var n = this.effectCtlList.effectfrozen.pool.get();
                    n && (t.node.addChild(n), n.setPosition(cc.v2(0, 0)), n.getComponent(dragonBones.ArmatureDisplay).playAnimation("start", 1))
                } else if (t.kind == i.effectManagerKind.boom2) {
                    var a = this.effectCtlList.effectBoom2.pool.get();
                    a && (this.effectCtlList.effectBoom2.rootNode.addChild(a), a.setPosition(t.pos), a.getComponent(dragonBones.ArmatureDisplay).playAnimation("start", 1), cc.tween(a).delay(1.5).call(function() {
                        e.effectCtlList.effectBoom2.pool.put(a)
                    }).start())
                } else if (t.kind == i.effectManagerKind.huo) {
                    var r = this.effectCtlList.effectFire.pool.get();
                    r && (this.effectCtlList.effectFire.rootNode.addChild(r), r.setPosition(t.pos), r.scale = 1, r.opacity = 255, r.getComponent(dragonBones.ArmatureDisplay).playAnimation("Sprite", 1), cc.tween(r).to(.5, {
                        scale: 2,
                        opacity: 100,
                        y: t.pos.y + 50
                    }).call(function() {
                        e.effectCtlList.effectFire.pool.put(r)
                    }).start())
                } else if (t.kind == i.effectManagerKind.huo2) {
                    var s = this.effectCtlList.effect_huo.pool.get();
                    s && (this.effectCtlList.effect_huo.rootNode.addChild(s), s.setPosition(t.pos), s.scale = .1, s.opacity = 255, s.angle = 360 * Math.random(), cc.tween(s).to(.2, {
                        scale: 1,
                        opacity: 0
                    }).call(function() {
                        e.effectCtlList.effect_huo.pool.put(s)
                    }).start())
                } else if (t.kind == i.effectManagerKind.shandian) {
                    var c = this.effectCtlList.effect_shandian.pool.get();
                    c && (this.effectCtlList.effect_shandian.rootNode.addChild(c), c.setPosition(t.pos), c.scale = .1, c.opacity = 255, c.angle = 360 * Math.random(), cc.tween(c).to(.2, {
                        scale: 1,
                        opacity: 0
                    }).call(function() {
                        e.effectCtlList.effect_shandian.pool.put(c)
                    }).start())
                } else if (t.kind == i.effectManagerKind.bing) {
                    var l = this.effectCtlList.effect_bing.pool.get();
                    l && (this.effectCtlList.effect_bing.rootNode.addChild(l), l.setPosition(t.pos), l.scale = .1, l.opacity = 255, l.angle = 360 * Math.random(), cc.tween(l).to(.2, {
                        scale: 1,
                        opacity: 0
                    }).call(function() {
                        e.effectCtlList.effect_bing.pool.put(l)
                    }).start())
                }
            },
            e.prototype.showParticle = function(t) {
                if (this.particleCtlList.hasOwnProperty(t.name)) {
                    var e = cc.instantiate(this.particleCtlList[t.name]);
                    e.setPosition(cc.v2(t.pos.x, t.pos.y + 70)),
                    e.active = !0,
                    this.particleRoot.addChild(e)
                }
            },
            e.prototype.recycleEffect = function(t) {
                t.kind == i.effectManagerKind.frozen && (this.showParticle({
                    name: "frozenBreak",
                    pos: t.pos
                }), this.effectCtlList.effectfrozen.pool.put(t.node))
            },
            __decorate([s(cc.Node)], e.prototype, "showLabel", void 0),
            __decorate([s(cc.Node)], e.prototype, "fontRoot", void 0),
            __decorate([s(cc.Node)], e.prototype, "hpEnemyRoot", void 0),
            __decorate([s(cc.Node)], e.prototype, "effectRoot", void 0),
            __decorate([s(cc.Node)], e.prototype, "particleRoot", void 0),
            __decorate([s([cc.SpriteFrame])], e.prototype, "hurtStateSp", void 0),
            __decorate([r], e)
        } (cc.Component);
        o.
    default = c,
        cc._RF.pop()
    },
    {
        "../data/enemyInfoEnum": "enemyInfoEnum",
        "../utils/Emitter": "Emitter"
    }],
    Emitter: [function(t, e, o) {
        "use strict";
        cc._RF.push(e, "8b5dbnCDmNLQ5c2lHDzZx4z", "Emitter"),
        Object.defineProperty(o, "__esModule", {
            value: !0
        });
        var n = cc._decorator,
        i = n.ccclass,
        a = (n.property,
        function(t) {
            function e() {
                var e = t.call(this) || this;
                return e.event_list = [],
                e
            }
            var o;
            return __extends(e, t),
            o = e,
            e.getInstance = function() {
                return null == this._instance && (this._instance = new o),
                this._instance
            },
            e.prototype.on = function(t, e, o) {
                t && e && o && this.event_list.push({
                    eventName: t,
                    cb: e,
                    target: o
                })
            },
            e.prototype.emit = function(t, e) {
                for (var o = 0; o < this.event_list.length; o++) this.event_list[o].eventName == t && this.event_list[o].cb.call(this.event_list[o].target, e)
            },
            e.prototype.off = function(t, e) {
                for (var o = this.event_list.length - 1; o >= 0; o--) this.event_list[o].eventName == t && this.event_list[o].target == e && this.event_list.splice(o, 1)
            },
            e.prototype.emitOnce = function(t, e) {
                for (var o = this.event_list.length - 1; o >= 0; o--) if (this.event_list[o].eventName == t) return void this.event_list[o].cb.call(this.event_list[o].target, e)
            },
            e.prototype.emitAndRemove = function(t, e) {
                for (var o = this.event_list.length - 1; o >= 0; o--) if (this.event_list[o].eventName == t) return this.event_list[o].cb.call(this.event_list[o].target, e),
                void this.event_list.splice(o, 1)
            },
            o = __decorate([i], e)
        } (cc.Component));
        o.
    default = a,
        cc._RF.pop()
    },
    {}],
    EnemyManager: [function(t, e, o) {
        "use strict";
        cc._RF.push(e, "3156ah7ceRBX4cnAwykAKEX", "EnemyManager"),
        Object.defineProperty(o, "__esModule", {
            value: !0
        });
        var n = t("../utils/GameManager"),
        i = t("../utils/myConfigManager"),
        a = t("../utils/Emitter"),
        r = t("../utils/AudioMgr"),
        s = cc._decorator,
        c = s.ccclass,
        l = (s.property,
        function(t) {
            function e() {
                var e = null !== t && t.apply(this, arguments) || this;
                return e._actorRoot = null,
                e._bulletRoot = null,
                e._defaultY = -180,
                e._enemyPrefab = {},
                e._recordLevelInfo = null,
                e._hourglassSoundId = -1,
                e
            }
            return __extends(e, t),
            e.prototype.onLoad = function() {
                a.
            default.getInstance().on("Hourglass_skill", this.hourglassSkill, this),
                a.
            default.getInstance().on("addOtherEnemy", this.addOtherEnemy, this),
                a.
            default.getInstance().on("loadSkillPool", this.loadSkillPool, this)
            },
            e.prototype.onDestroy = function() {
                a.
            default.getInstance().off("Hourglass_skill", this),
                a.
            default.getInstance().off("addOtherEnemy", this),
                a.
            default.getInstance().off("loadSkillPool", this)
            },
            e.prototype.setActorNode = function(t) {
                this._actorRoot = t
            },
            e.prototype.setBulletNode = function(t) {
                this._bulletRoot = t
            },
            e.prototype.addOtherEnemy = function(t) {
                this.inheritEnemy(t.id, t.pos, t.data)
            },
            e.prototype.addRandomEnemy = function() {
                var t = Math.floor(7 * Math.random()) + 1;
                this.loadEnemy(t)
            },
            e.prototype.loadSkillPool = function(t) {
                var e = i.
            default.getInstance().getNameBySkillPrefabKind(t.mySkillprafabSkill);
                this._bulletRoot.setSkillPrefabPool(e)
            },
            e.prototype.inheritEnemy = function(t, e, o) {
                var a = this,
                r = i.
            default.getInstance().getEnemyInfoData();
                if (r.hasOwnProperty(t)) {
                    var s = r[t],
                    c = "enemyPrefabs/" + (s.id < 100 ? "common": "boss") + "/" + s.name,
                    l = JSON.parse(JSON.stringify(o));
                    if (this._enemyPrefab.hasOwnProperty(c)) {
                        var d = this._enemyPrefab[c];
                        this.addEnemy(d, l, e)
                    } else n.
                default.getInstance().getMyPrefab(c).then(function(t) {
                        a._enemyPrefab[c] = t,
                        a.addEnemy(t, l, e)
                    })
                }
            },
            e.prototype.loadEnemy = function(t, e) {
                var o = this;
                void 0 === e && (e = null);
                var a = i.
            default.getInstance().getEnemyInfoData();
                if (a.hasOwnProperty(t)) {
                    var r = a[t],
                    s = "enemyPrefabs/" + (r.id < 100 ? "common": "boss") + "/" + r.name,
                    c = JSON.parse(JSON.stringify(r));
                    if (c.hp = Math.round(c.hp * this._recordLevelInfo.hp), c.hurt = Math.round(c.hurt * this._recordLevelInfo.hurt), c.skillspeed = c.skillspeed * this._recordLevelInfo.skillCd, c.movespeen = this._recordLevelInfo.speen, c.goldmin = Math.round(c.goldmin * this._recordLevelInfo.gold), c.goldmax = Math.round(c.goldmax * this._recordLevelInfo.gold), this._enemyPrefab.hasOwnProperty(s)) {
                        var l = this._enemyPrefab[s];
                        this.addEnemy(l, c, e)
                    } else n.
                default.getInstance().getMyPrefab(s).then(function(t) {
                        o._enemyPrefab[s] = t,
                        o.addEnemy(t, c, e)
                    })
                }
            },
            e.prototype.addEnemy = function(t, e, o) {
                void 0 === o && (o = null);
                var i = cc.instantiate(t),
                a = i.getComponent("BaseEnemy");
                if (a.setActorRoot(this._actorRoot), a.initProData(e), a.initSkillData(), a.setIsPause(n.
            default.getInstance()._isGamePause), o) i.y = this._defaultY,
                i.x = o.x;
                else {
                    var r = [],
                    s = 150 * Math.random() + 650,
                    c = this._actorRoot.ActorNode.x - s;
                    c >= -1e3 && r.push(c);
                    var l = this._actorRoot.ActorNode.x + s;
                    l <= 1e3 && r.push(l);
                    var d = Math.floor(Math.random() * r.length);
                    i.y = this._defaultY,
                    i.x = r[d]
                }
                this.node.addChild(i)
            },
            e.prototype.getSkillPrefabInfo = function() {},
            e.prototype.getEnemies = function() {
                var t = 0;
                return this.node.children.forEach(function(e) {
                    e.getComponent("BaseEnemy").isDead() || t++
                }),
                t
            },
            e.prototype.getNearEnemy = function() {
                var t = this._actorRoot.ActorNode.getPosition(),
                e = this._actorRoot._faceDir,
                o = null,
                n = null;
                return this.node.children.forEach(function(e) {
                    e.getComponent("BaseEnemy").isDead() || (e.x - t.x > 0 ? (null == o || o > e.x) && (o = e.x) : (null == n || n < e.x) && (n = e.x))
                }),
                1 == e && null != o ? o: -1 == e && null != n ? n: o || n
            },
            e.prototype.hourglassSkill = function(t) {
                var e = this;
                "start" == t.name ? (n.
            default.getInstance()._myEnemyTimeScale = .5, this.node.children.forEach(function(t) {
                    t.getComponent("BaseEnemy").setCurTimeScale(.5)
                }), -1 == this._hourglassSoundId && r.
            default.getInstance().playSFXWithBack("Hourglass", !0).then(function(t) {
                    e._hourglassSoundId = t
                })) : "end" == t.name && (n.
            default.getInstance()._myEnemyTimeScale = 1, this._hourglassSoundId > -1 && (cc.audioEngine.stopEffect(this._hourglassSoundId), this._hourglassSoundId = -1), this.node.children.forEach(function(t) {
                    t.getComponent("BaseEnemy").setCurTimeScale(1)
                }))
            },
            e.prototype.doNextLv = function(t) {
                this._recordLevelInfo = t;
                var e = this._recordLevelInfo.enemy;
                if ("number" == typeof e) this.loadEnemy(e);
                else for (var o = e.split(","), n = 0; n < this._recordLevelInfo.quantity; n++) {
                    var i = Math.floor(Math.random() * o.length);
                    this.loadEnemy(o[i])
                }
            },
            __decorate([c], e)
        } (cc.Component));
        o.
    default = l,
        cc._RF.pop()
    },
    {
        "../utils/AudioMgr": "AudioMgr",
        "../utils/Emitter": "Emitter",
        "../utils/GameManager": "GameManager",
        "../utils/myConfigManager": "myConfigManager"
    }],
    EquipInfoNode: [function(t, e, o) {
        "use strict";
        cc._RF.push(e, "e85847hbetKfplMf7tjRSiX", "EquipInfoNode"),
        Object.defineProperty(o, "__esModule", {
            value: !0
        });
        var n = t("../../utils/AudioMgr"),
        i = t("../../data/weaponConfig"),
        a = t("../../utils/myConfigManager"),
        r = t("../../control/ResManager"),
        s = t("../../utils/GameManager"),
        c = t("../../data/shopConfig"),
        l = t("../../utils/Emitter"),
        d = cc._decorator,
        u = d.ccclass,
        h = d.property,
        p = function(t) {
            function e() {
                var e = null !== t && t.apply(this, arguments) || this;
                return e.qualitySp = null,
                e.equipIcon = null,
                e.reelIcon = null,
                e.equipName = null,
                e.equipLevel = null,
                e.needReellabel = null,
                e.reelPricelabel = null,
                e.pro1 = null,
                e.pro2 = null,
                e.proRoot = null,
                e.ctlBtnList = [],
                e.previewHideList = [],
                e.equipEffect = null,
                e._equipInfo = null,
                e._backFunc = null,
                e._rootTarget = null,
                e._inPos = null,
                e._tempRichText = null,
                e._needPrice = 0,
                e._needReelNum = 0,
                e._isPreview = !1,
                e
            }
            return __extends(e, t),
            e.prototype.setEquipData = function(t, e, o, n) {
                this._equipInfo = t,
                this._backFunc = o,
                this._rootTarget = n,
                this._inPos = e
            },
            e.prototype.setPreview = function() {
                this._isPreview = !0
            },
            e.prototype.onLoad = function() {
                var t = this;
                this._tempRichText = this.proRoot.children[0],
                this._tempRichText.active = !0,
                this._tempRichText.parent = null,
                this.previewHideList.forEach(function(e) {
                    e.active = !t._isPreview
                }),
                this.initView()
            },
            e.prototype.onDestroy = function() {
                this._tempRichText.destroy(),
                this._backFunc = null,
                this._rootTarget = null
            },
            e.prototype.initView = function() {
                for (var t = 0; t < this.ctlBtnList[0].children.length; t++)(d = this.ctlBtnList[0].children[t]).active = this._inPos == t;
                var e = a.
            default.getInstance()._equipMaxLv;
                this.ctlBtnList[1].active = 0 == this._inPos,
                this.ctlBtnList[2].active = this._equipInfo.lv < e;
                var o = a.
            default.getInstance().getNameByAwardKind(this._equipInfo.kind) + this._equipInfo.index,
                n = r.
            default._instance.DropAward.getSpriteFrame("quality_" + (this._equipInfo.quality + 1));
                this.qualitySp.spriteFrame = n,
                this.equipIcon.spriteFrame = r.
            default._instance.DropAward.getSpriteFrame(o),
                this.equipName.string = this._equipInfo.name,
                this.equipLevel.string = cc.js.formatStr("<b><color=#00ff00>%s</c>/" + e + "</b>", this._equipInfo.lv),
                e == this._equipInfo.lv && (this.equipLevel.string = "<b><color=#00ff00>\u6ee1\u7ea7</c></b>");
                var l = cc.instantiate(this._tempRichText);
                for (l.getComponent(cc.RichText).string = "<b>" + this.getQualityName(this._equipInfo.quality) + "</b>", this.proRoot.addChild(l), t = 0; t < this._equipInfo.myPro.length; t++) {
                    var d = this._equipInfo.myPro[t],
                    u = a.
                default.getInstance().getTipsFromPro(d.kind);
                    u = u.indexOf("%s%") ? u.replace("%s%", "<color=#00ff00>%s%</c>") : u.replace("%s", "<color=#00ff00>%s</c>");
                    var h = "",
                    p = 0,
                    f = 0,
                    m = 0;
                    if (0 == t ? (p = Math.round(d.value * c.qualityEffect[this._equipInfo.quality] * Math.pow(c.strengthenExpend.proMult, this._equipInfo.lv)), f = Math.round(d.
                default * c.qualityEffect[this._equipInfo.quality] * Math.pow(c.strengthenExpend.proMult, this._equipInfo.lv)), m = Math.round(d.increase * c.qualityEffect[this._equipInfo.quality] * Math.pow(c.strengthenExpend.proMult, this._equipInfo.lv))) : (p = d.value, f = d.
                default, m = d.increase), 0 != d.increase ? (u += "<color=#9a9c9b>(%s-%s)</c>", h = cc.js.formatStr(u, p, f, m)) : h = cc.js.formatStr(u, p), h = "<b>" + h + "</b>", 0 == t) this.pro1.string = h;
                    else if (1 == t) this.pro2.string = h;
                    else {
                        var g = cc.instantiate(this._tempRichText);
                        g.getComponent(cc.RichText).string = h,
                        this.proRoot.addChild(g)
                    }
                }
                var _ = this._equipInfo.suit;
                if (_) {
                    var y = 0,
                    v = null;
                    for (t = 0; t < i.suitPropertyList.length; t++) if ((d = i.suitPropertyList[t]).id == _) {
                        v = d;
                        break
                    }
                    s.
                default.getInstance().getData("selfEquipSelect").forEach(function(t) {
                        t.suit == _ && y++
                    });
                    var w = cc.instantiate(this._tempRichText);
                    w.getComponent(cc.RichText).string = cc.js.formatStr("<img src='suit%s' /> <color=#00ff00>%s</c>", v.id, v.name),
                    this.proRoot.addChild(w);
                    var C = function(t) {
                        var e = v.suitNum[t],
                        o = "";
                        v.effect[t].forEach(function(t) {
                            "" != o && (o += ",");
                            var e = a.
                        default.getInstance().getTipsFromPro(t.kind);
                            0 != t.
                        default ? o += cc.js.formatStr(e, t.
                        default):
                            o += e
                        }),
                        o = e <= y ? cc.js.formatStr("<color=#00ff00>(%s)" + o + "</c>", e) : cc.js.formatStr("<color=#9a9c9b>(%s)" + o + "</c>", e);
                        var n = cc.instantiate(S._tempRichText);
                        n.getComponent(cc.RichText).string = o,
                        S.proRoot.addChild(n)
                    },
                    S = this;
                    for (t = 0; t < v.suitNum.length; t++) C(t)
                }
                this.refreshReelNum()
            },
            e.prototype.getQualityName = function(t) {
                var e = "";
                switch (t) {
                case i.EquipQualityEnum.white:
                    e += "<color=#FFFFFF><size=22>\u666e\u901a\u88c5\u5907</size></c>";
                    break;
                case i.EquipQualityEnum.green:
                    e += "<color=#004CFC><size=22>\u7cbe\u826f\u88c5\u5907</size></c>";
                    break;
                case i.EquipQualityEnum.blue:
                    e += "<color=#4C00FC><size=22>\u53f2\u8bd7\u88c5\u5907</size></c>";
                    break;
                case i.EquipQualityEnum.purple:
                    e += "<color=#FC5600><size=22>\u4f20\u5947\u88c5\u5907</size></c>";
                    break;
                case i.EquipQualityEnum.gold:
                    e += "<color=#FC0000><size=22>\u795e\u8bdd\u88c5\u5907</size></c>"
                }
                return e
            },
            e.prototype.refreshReelNum = function() {
                this._needReelNum = c.strengthenExpend.reel * this._equipInfo.lv,
                this._needReelNum <= 0 && (this._needReelNum = 1),
                this._needPrice = c.strengthenExpend.gold * (this._equipInfo.lv + 1),
                this.reelIcon.spriteFrame = r.
            default._instance.DropAward.getSpriteFrame(this.getReelName(this._equipInfo.kind));
                var t = s.
            default.getInstance().getData("selfRealList"),
                e = 0;
                t.hasOwnProperty(this._equipInfo.kind) && (e = t[this._equipInfo.kind]),
                this._needReelNum <= e ? this.needReellabel.string = cc.js.formatStr("<b><color=#00ff00>%s</c>/%s</b>", e, this._needReelNum) : this.needReellabel.string = cc.js.formatStr("<b><color=#FF0000>%s</c>/%s</b>", e, this._needReelNum),
                this.reelPricelabel.string = cc.js.formatStr("<color=#ffffff>\u5347\u7ea7</color><img src='icon_powder' /><color=#ffffff>%s</color>", this._needPrice),
                1 == cc.thinkLandSwitchNew.getIsLimit() && (100 * Math.random() < 20 ? (this.reelPricelabel.node.parent.getChildByName("video").active = !0, this.reelPricelabel.node.active = !1) : (this.reelPricelabel.node.parent.getChildByName("video").active = !1, this.reelPricelabel.node.active = !0))
            },
            e.prototype.getReelName = function(t) {
                var e = "";
                switch (t) {
                case c.myAwardEnum.weapon:
                    e = "Item_Scroll_Weapon";
                    break;
                case c.myAwardEnum.clothes:
                    e = "Item_Scroll_Armor";
                    break;
                case c.myAwardEnum.gloves:
                    e = "Item_Scroll_Gloves";
                    break;
                case c.myAwardEnum.shoe:
                    e = "Item_Scroll_Shoes";
                    break;
                case c.myAwardEnum.accessories:
                    e = "Item_Scroll_Ring"
                }
                return e
            },
            e.prototype.decomposeEquip = function() {
                for (var t = 0,
                e = 0; e < this._equipInfo.lv; e++) t += c.strengthenExpend.reel * e; (t = Math.round(.5 * t)) <= 0 && (t = 1);
                var o = 0;
                switch (this._equipInfo.kind) {
                case c.myAwardEnum.weapon:
                    o = c.myAwardEnum.weaponReel;
                    break;
                case c.myAwardEnum.clothes:
                    o = c.myAwardEnum.clothesReel;
                    break;
                case c.myAwardEnum.gloves:
                    o = c.myAwardEnum.glovesReel;
                    break;
                case c.myAwardEnum.shoe:
                    o = c.myAwardEnum.shoeReel;
                    break;
                case c.myAwardEnum.accessories:
                    o = c.myAwardEnum.accessoriesReel
                }
                s.
            default.getInstance().getAwardsByKind({
                    awardId:
                    o,
                    num: t
                })
            },
            e.prototype.closeBtn = function() {
                n.
            default.getInstance().playButton(),
                this.node.getComponent("windowOpenEffect").closePanel(),
                this._backFunc && this._backFunc.call(this._rootTarget, "close")
            },
            e.prototype.equitBtnCall = function() {
                n.
            default.getInstance().playButton(),
                this._backFunc && this._backFunc.call(this._rootTarget, "equip"),
                this.node.getComponent("windowOpenEffect").closePanel()
            },
            e.prototype.unequitBtnCall = function() {
                n.
            default.getInstance().playButton(),
                this._backFunc && this._backFunc.call(this._rootTarget, "unequip"),
                this.node.getComponent("windowOpenEffect").closePanel()
            },
            e.prototype.removeBtnCall = function() {
                n.
            default.getInstance().playButton(),
                this.decomposeEquip(),
                this._backFunc && this._backFunc.call(this._rootTarget, "remove"),
                this.node.getComponent("windowOpenEffect").closePanel()
            },
            e.prototype.upgradeBtnCall = function(t) {
                if (n.
            default.getInstance().playButton(), t.target.getChildByName("video").active) {
                    var e = this;
                    cc.adCtl.showVideo(function(t) {
                        1 == t && e.doUpgradeData()
                    })
                } else {
                    var o = s.
                default.getInstance().getData("selfRealList")[this._equipInfo.kind];
                    o || (o = 0);
                    var i = s.
                default.getInstance().getData("selfGold");
                    o >= this._needReelNum && i >= this._needPrice ? s.
                default.getInstance().expendGold(this._needPrice) && s.
                default.getInstance().expendReels(this._equipInfo.kind, this._needReelNum) && this.doUpgradeData() : o < this._needReelNum ? s.
                default.getInstance().showToast("\u5377\u8f74\u4e0d\u8db3"):
                    i < this._needPrice && (e = this, s.
                default.getInstance().showToast("\u53bb\u5546\u5e97\u8d2d\u4e70\uff1f", "\u5b9d\u77f3\u7c89\u4e0d\u8db3",
                    function() {
                        e.node.getComponent("windowOpenEffect").closePanel(),
                        l.
                    default.getInstance().emit("onSelectNode", 0),
                        l.
                    default.getInstance().emit("showUI", {
                            name: "shop",
                            index: 4
                        })
                    }))
                }
            },
            e.prototype.doUpgradeData = function() {
                n.
            default.getInstance().playSFX("equip_up"),
                this._equipInfo.lv++,
                this.equipEffect.playAnimation("Sprite", 1);
                var t = cc.find("equipRoot/FXT_UP", this.node);
                t.active = !0,
                t.getComponent(cc.ParticleSystem).resetSystem(),
                this.proRoot.removeAllChildren(),
                this.initView(),
                this._backFunc && this._backFunc.call(this._rootTarget, "upgrade")
            },
            __decorate([h(cc.Sprite)], e.prototype, "qualitySp", void 0),
            __decorate([h(cc.Sprite)], e.prototype, "equipIcon", void 0),
            __decorate([h(cc.Sprite)], e.prototype, "reelIcon", void 0),
            __decorate([h(cc.Label)], e.prototype, "equipName", void 0),
            __decorate([h(cc.RichText)], e.prototype, "equipLevel", void 0),
            __decorate([h(cc.RichText)], e.prototype, "needReellabel", void 0),
            __decorate([h(cc.RichText)], e.prototype, "reelPricelabel", void 0),
            __decorate([h(cc.RichText)], e.prototype, "pro1", void 0),
            __decorate([h(cc.RichText)], e.prototype, "pro2", void 0),
            __decorate([h(cc.Node)], e.prototype, "proRoot", void 0),
            __decorate([h([cc.Node])], e.prototype, "ctlBtnList", void 0),
            __decorate([h([cc.Node])], e.prototype, "previewHideList", void 0),
            __decorate([h(dragonBones.ArmatureDisplay)], e.prototype, "equipEffect", void 0),
            __decorate([u], e)
        } (cc.Component);
        o.
    default = p,
        cc._RF.pop()
    },
    {
        "../../control/ResManager": "ResManager",
        "../../data/shopConfig": "shopConfig",
        "../../data/weaponConfig": "weaponConfig",
        "../../utils/AudioMgr": "AudioMgr",
        "../../utils/Emitter": "Emitter",
        "../../utils/GameManager": "GameManager",
        "../../utils/myConfigManager": "myConfigManager"
    }],
    EquipNode: [function(t, e, o) {
        "use strict";
        cc._RF.push(e, "2d7bcEZ73FLU7tY/et2Bsm4", "EquipNode"),
        Object.defineProperty(o, "__esModule", {
            value: !0
        });
        var n = t("../../utils/GameManager"),
        i = t("../../utils/myConfigManager"),
        a = t("../../control/ResManager"),
        r = t("../../data/weaponConfig"),
        s = t("../../utils/Emitter"),
        c = t("../../utils/AudioMgr"),
        l = t("../../data/shopConfig"),
        d = cc._decorator,
        u = d.ccclass,
        h = d.property,
        p = function(t) {
            function e() {
                var e = null !== t && t.apply(this, arguments) || this;
                return e.equipItemRoot = null,
                e.equipInfoList = [],
                e.actorSpine = null,
                e._equipList = [],
                e._selectIndex = 0,
                e._oldRecordPro = [],
                e
            }
            return __extends(e, t),
            e.prototype.onLoad = function() {
                s.
            default.getInstance().on("refresh_equipUI", this.refreshUI, this),
                this._oldRecordPro = new Array(this.equipInfoList.length).fill( - 1)
            },
            e.prototype.onDestroy = function() {
                s.
            default.getInstance().off("refresh_equipUI", this)
            },
            e.prototype.onEnable = function() {
                this.refreshUI()
            },
            e.prototype.selectItemBtn = function(t, e) {
                var o = this;
                c.
            default.getInstance().playButton();
                var i = this._equipList[parseInt(e)]; - 1 != i && (this._selectIndex = parseInt(e), n.
            default.getInstance().getMyPrefab("viewPrefabs/equipInfoNode").then(function(t) {
                    var e = cc.instantiate(t);
                    e.getComponent("EquipInfoNode").setEquipData(i, 1, o.equipResult, o),
                    cc.find("Canvas").addChild(e)
                }))
            },
            e.prototype.equipResult = function(t) {
                if ("unequip" == t) {
                    var e = this._equipList[this._selectIndex],
                    o = JSON.parse(JSON.stringify(e));
                    this._equipList[this._selectIndex] = -1,
                    n.
                default.getInstance().setData("selfEquipSelect", this._equipList),
                    s.
                default.getInstance().emit("selectItemState", {
                        name: "weapon_unequip",
                        data: o
                    }),
                    this.refreshUI()
                } else "upgrade" == t && this.refreshUI()
            },
            e.prototype.refreshSpineWeapon = function(t) {
                for (var e in r.weaponImageInfo) if (Object.prototype.hasOwnProperty.call(r.weaponImageInfo, e)) {
                    var o = r.weaponImageInfo[e];
                    if (e == "" + t) for (var n in o) Object.prototype.hasOwnProperty.call(o, n) && this.actorSpine.setAttachment(n, n);
                    else for (var n in o) Object.prototype.hasOwnProperty.call(o, n) && (cc.sys.isNative && !window.hbs ? this.actorSpine.setAttachment(n, "") : this.actorSpine.setAttachment(n, null))
                }
            },
            e.prototype.refreshUI = function() {
                var t = {};
                t[r.EquipPropertyEnum.hurt] = r.defaultPropertyList[0].
            default,
                t[r.EquipPropertyEnum.hurtPer] = 0,
                t[r.EquipPropertyEnum.hp] = r.defaultPropertyList[1].
            default,
                t[r.EquipPropertyEnum.hpPer] = 0,
                t[r.EquipPropertyEnum.attackSpeed] = 0,
                t[r.EquipPropertyEnum.attackSpeedDefault] = r.defaultPropertyList[2].
            default,
                t[r.EquipPropertyEnum.movingSpeed] = 100,
                this._equipList = n.
            default.getInstance().getData("selfEquipSelect");
                for (var e = n.
            default.getInstance().getData("selfRealList"), o = {},
                s = 0; s < this._equipList.length; s++) {
                    var c = this._equipList[s],
                    d = this.equipItemRoot.getChildByName("equip_selectbg" + (s + 1));
                    if (!d.getComponent(cc.Button)) {
                        var u = d.addComponent(cc.Button),
                        h = new cc.Component.EventHandler;
                        h.target = this.node,
                        h.component = "EquipNode",
                        h.handler = "selectItemBtn",
                        h.customEventData = s + "",
                        u.clickEvents.push(h)
                    }
                    var p = d.getChildByName("quality");
                    p.active = -1 != c;
                    var f = d.getChildByName("equipLv");
                    f.active = -1 != c;
                    var m = d.getChildByName("upArrow");
                    m.active = !1,
                    p.getChildByName("suit_effect_ske").active = !1;
                    var g = -1 != c;
                    if ( - 1 != c) {
                        if (g = c.quality > 1, f.getComponent(cc.RichText).string = cc.js.formatStr("<b><color=#00ff00>%s</c>/" + i.
                    default.getInstance()._equipMaxLv + "</b>", c.lv), i.
                    default.getInstance()._equipMaxLv == c.lv) f.getComponent(cc.RichText).string = "<b><color=#00ff00>\u6ee1\u7ea7</c></b>";
                        else {
                            var _ = l.strengthenExpend.reel * c.lv;
                            _ <= 0 && (_ = 1);
                            var y = 0;
                            if (e.hasOwnProperty(c.kind) && (y = e[c.kind]), _ <= y) {
                                m.active = !0,
                                m.stopAllActions();
                                var v = cc.v2( - 22, -22);
                                cc.tween(m).repeatForever(cc.sequence(cc.moveTo(.5, cc.v2(v.x, v.y + 10)), cc.place(v))).start()
                            }
                        }
                        var w = i.
                    default.getInstance().getNameByAwardKind(c.kind) + c.index,
                        C = a.
                    default._instance.DropAward.getSpriteFrame("quality_" + (c.quality + 1));
                        p.getComponent(cc.Sprite).spriteFrame = C,
                        p.getChildByName("icon").getComponent(cc.Sprite).spriteFrame = a.
                    default._instance.DropAward.getSpriteFrame(w);
                        var S = p.getChildByName("suitIcon");
                        if (S.active = c.suit > 0, S.children[0].active = !1, c.suit > 0 && (o.hasOwnProperty(c.suit) ? (o[c.suit].num++, o[c.suit].nodeList.push(S)) : o[c.suit] = {
                            num: 1,
                            nodeList: [S]
                        },
                        S.getComponent(cc.Sprite).spriteFrame = a.
                    default._instance.DropAward.getSpriteFrame("suit" + c.suit), S.children[0].getComponent(cc.Sprite).spriteFrame = a.
                    default._instance.DropAward.getSpriteFrame("suit" + c.suit + "_on")), c.myPro) for (var A = 0; A < c.myPro.length; A++) {
                            var I = c.myPro[A];
                            if (t.hasOwnProperty(I.kind)) if (I.kind == r.EquipPropertyEnum.attackSpeedDefault) t[I.kind] = I.value;
                            else {
                                var E;
                                E = 0 == A ? Math.round(I.value * l.qualityEffect[c.quality] * Math.pow(1.05, c.lv)) : I.value,
                                t[I.kind] += E
                            }
                        }
                    }
                    if (this.showFrameEffect(d, g), 0 == s) {
                        var k = -1 != c ? c.index + 1 : 1;
                        this.refreshSpineWeapon(k)
                    }
                }
                var M = function(e) {
                    if (Object.prototype.hasOwnProperty.call(o, e)) {
                        for (var n = o[e].num, i = null, a = 0; a < r.suitPropertyList.length; a++) {
                            var s = r.suitPropertyList[a];
                            if (s.id == parseInt(e)) {
                                i = s;
                                break
                            }
                        }
                        for (a = 0; a < i.suitNum.length; a++) i.suitNum[a] <= n && (i.effect[a].forEach(function(e) {
                            t.hasOwnProperty(e.kind) && (t[e.kind] += e.
                        default)
                        }), 0 == a ? o[e].nodeList.forEach(function(t) {
                            var e = t.children[0];
                            e.active = !0,
                            e.stopAllActions(),
                            cc.tween(e).to(1, {
                                opacity: 255,
                                scale: 1.1
                            }).to(1, {
                                opacity: 0,
                                scale: 1
                            }).union().repeatForever().start()
                        }) : 1 == a && o[e].nodeList.forEach(function(t) {
                            var o = t.parent.getChildByName("suit_effect_ske");
                            o.active = !0,
                            o.getComponent(dragonBones.ArmatureDisplay).armatureName = "Sprite" + e,
                            o.getComponent(dragonBones.ArmatureDisplay).playAnimation("Sprite" + e, -1)
                        }))
                    }
                };
                for (var P in o) M(P);
                var b = function(e) {
                    var o = N.equipInfoList[e],
                    n = "",
                    i = 0;
                    0 == e ? (i = t[r.EquipPropertyEnum.hurt] * (1 + .01 * t[r.EquipPropertyEnum.hurtPer]), i = Math.round(i), n = i + "") : 1 == e ? (i = t[r.EquipPropertyEnum.attackSpeedDefault] * (1 + .01 * t[r.EquipPropertyEnum.attackSpeed]), i = Math.round(100 * i) / 100, n = i + "") : 2 == e ? (i = t[r.EquipPropertyEnum.hp] * (1 + .01 * t[r.EquipPropertyEnum.hpPer]), i = Math.round(i), n = i + "") : 3 == e && (i = t[r.EquipPropertyEnum.movingSpeed], i = Math.round(i), n = i + "%");
                    var a = o.getChildByName("sub"),
                    s = o.getChildByName("add");
                    a.active = !1,
                    s.active = !1;
                    var c = o.getChildByName("num").getComponent(cc.Label);
                    if ( - 1 == N._oldRecordPro[e]) N._oldRecordPro[e] = i,
                    c.string = n;
                    else {
                        var l = i - N._oldRecordPro[e],
                        d = null;
                        if (l > 0 ? (s.active = !0, d = s) : l < 0 && (a.active = !0, d = a), d) {
                            var u = Math.abs(l),
                            h = d.getComponentInChildren(cc.Label);
                            h.string = u;
                            var p = {
                                a: u
                            };
                            cc.tween(p).to(1, {
                                a: 0
                            },
                            {
                                progress: function(t, o, n, i) {
                                    var a;
                                    return a = 1 == e ? Math.round(100 * n) / 100 + "": 3 == e ? Math.round(n) + "%": Math.round(n) + "",
                                    h.string = a,
                                    t + (o - t) * i
                                }
                            }).start();
                            var f = {
                                a: N._oldRecordPro[e]
                            };
                            cc.tween(f).to(1, {
                                a: N._oldRecordPro[e] + l
                            },
                            {
                                progress: function(t, o, n, i) {
                                    var a;
                                    return a = 1 == e ? Math.round(100 * n) / 100 + "": 3 == e ? Math.round(n) + "%": Math.round(n) + "",
                                    c.string = a,
                                    t + (o - t) * i
                                }
                            }).call(function() {
                                d.active = !1,
                                c.string = n
                            }).start()
                        }
                        N._oldRecordPro[e] = i
                    }
                },
                N = this;
                for (s = 0; s < this.equipInfoList.length; s++) b(s)
            },
            e.prototype.showFrameEffect = function(t, e) {
                var o = t.getChildByName("effect");
                if (o && (o.active = e, e)) {
                    var n = [cc.v3(33, 33, 0), cc.v3( - 33, 33, 0), cc.v3( - 33, -33, 0), cc.v3(33, -33, 0)];
                    o.children.forEach(function(t, e) {
                        0 == e && (t.setPosition(n[3]), cc.tween(t).to(.5, {
                            position: n[0]
                        }).to(.5, {
                            position: n[1]
                        }).to(.5, {
                            position: n[2]
                        }).to(.5, {
                            position: n[3]
                        }).union().repeatForever().start()),
                        t.active = 0 == e
                    })
                }
            },
            __decorate([h(cc.Node)], e.prototype, "equipItemRoot", void 0),
            __decorate([h([cc.Node])], e.prototype, "equipInfoList", void 0),
            __decorate([h(sp.Skeleton)], e.prototype, "actorSpine", void 0),
            __decorate([u], e)
        } (cc.Component);
        o.
    default = p,
        cc._RF.pop()
    },
    {
        "../../control/ResManager": "ResManager",
        "../../data/shopConfig": "shopConfig",
        "../../data/weaponConfig": "weaponConfig",
        "../../utils/AudioMgr": "AudioMgr",
        "../../utils/Emitter": "Emitter",
        "../../utils/GameManager": "GameManager",
        "../../utils/myConfigManager": "myConfigManager"
    }],
    FixedDirSkill: [function(t, e, o) {
        "use strict";
        cc._RF.push(e, "f20beRI9g5G/p4MiOKKK20S", "FixedDirSkill"),
        Object.defineProperty(o, "__esModule", {
            value: !0
        });
        var n = t("../utils/Emitter"),
        i = t("../utils/myConfigManager"),
        a = t("./CommonSkill"),
        r = cc._decorator,
        s = r.ccclass,
        c = r.property,
        l = function(t) {
            function e() {
                var e = null !== t && t.apply(this, arguments) || this;
                return e.launchTimes = 1,
                e
            }
            return __extends(e, t),
            e.prototype.onLoad = function() {
                this.initSkill(this)
            },
            e.prototype.doSkill = function(t, e) {
                var o = this;
                return new Promise(function(t) {
                    var a = o.getComponent("BaseEnemy"),
                    r = i.
                default.getInstance().getNameBySkillPrefabKind(o.mySkillprafabSkill),
                    s = o.node.getPosition(),
                    c = cc.v2(a._moveDir * Math.abs(e.x) + 1 * a._moveDir, e.y);
                    o.doSkillGroup(function() {
                        for (var e = 0; e < o.launchTimes; e++) n.
                    default.getInstance().emit("launch_Skill", {
                            name: r,
                            startPos: s,
                            toPos: c,
                            maxDis: o.maxTrigger,
                            hit: o.hurtNum,
                            kind: 1
                        });
                        t()
                    })
                })
            },
            __decorate([c({
                tooltip: "\u6bcf\u6b21\u53d1\u5c04\u4e2a\u6570"
            })], e.prototype, "launchTimes", void 0),
            __decorate([s], e)
        } (a.
    default);
        o.
    default = l,
        cc._RF.pop()
    },
    {
        "../utils/Emitter": "Emitter",
        "../utils/myConfigManager": "myConfigManager",
        "./CommonSkill": "CommonSkill"
    }],
    FlashSkill: [function(t, e, o) {
        "use strict";
        cc._RF.push(e, "bb7ffFAyNxCz51PieF2zP7B", "FlashSkill"),
        Object.defineProperty(o, "__esModule", {
            value: !0
        });
        var n = t("../utils/Emitter"),
        i = t("./CommonSkill"),
        a = t("../utils/GameManager"),
        r = cc._decorator,
        s = r.ccclass,
        c = r.property,
        l = function(t) {
            function e() {
                var e = null !== t && t.apply(this, arguments) || this;
                return e.warningArea = 138,
                e
            }
            return __extends(e, t),
            e.prototype.onLoad = function() {
                this.initSkill(this)
            },
            e.prototype.doSkill = function(t, e) {
                this.node.getComponent(cc.BoxCollider).enabled = !1;
                var o = this,
                i = e;
                this._isFly && 100 * Math.random() < 30 && (i.y += 200),
                o.warningArea > 0 && n.
            default.getInstance().emit("attackWarning", {
                    width: o.warningArea,
                    pos: i
                }),
                o.node.opacity = 0;
                var r = 1 / a.
            default.getInstance()._myEnemyTimeScale;
                return new Promise(function(t) {
                    cc.tween(o.node).delay(.5 * r).to(.1 * r, {
                        position: i
                    }).to(.1 * r, {
                        opacity: 255
                    }).call(function() {
                        o.node.getComponent(cc.BoxCollider).enabled = !0,
                        t()
                    }).start()
                })
            },
            __decorate([c({
                tooltip: "\u8b66\u793a\u533a\u57df"
            })], e.prototype, "warningArea", void 0),
            __decorate([s], e)
        } (i.
    default);
        o.
    default = l,
        cc._RF.pop()
    },
    {
        "../utils/Emitter": "Emitter",
        "../utils/GameManager": "GameManager",
        "./CommonSkill": "CommonSkill"
    }],
    FollowBallSkill: [function(t, e, o) {
        "use strict";
        cc._RF.push(e, "1757etvWyRGwL+nm5WglSMD", "FollowBallSkill"),
        Object.defineProperty(o, "__esModule", {
            value: !0
        });
        var n = t("../data/enemyInfoEnum"),
        i = t("../utils/GameManager"),
        a = t("./CommonSkill"),
        r = cc._decorator,
        s = r.ccclass,
        c = r.property,
        l = function(t) {
            function e() {
                var e = null !== t && t.apply(this, arguments) || this;
                return e.ballSkill = null,
                e._ballList = [],
                e._rootBullet = null,
                e._hitTimes = 3,
                e._targetPos = null,
                e
            }
            return __extends(e, t),
            e.prototype.onLoad = function() {
                this.initSkill(this),
                this._rootBullet = cc.find("Canvas").getComponent("GameControl").myBulletManager.bulletParent1,
                this.initFollowBall()
            },
            e.prototype.onDestroy = function() {},
            e.prototype.initFollowBall = function() {
                for (var t = 0; t < 3; t++) {
                    var e = cc.instantiate(this.ballSkill);
                    this._rootBullet.addChild(e);
                    var o = 20 * Math.random() - 40,
                    n = 100 * Math.random() + 150,
                    i = 50 * Math.random() + 50,
                    a = {
                        pos: cc.v2(o, n),
                        r: i,
                        deg: cc.misc.degreesToRadians(360 * Math.random()),
                        node: e,
                        isShoot: !1,
                        dir: 1
                    };
                    e.getComponent("SkillBase").hitHurt = this.hurtNum,
                    this._ballList.push(a);
                    var r = e.children[0];
                    cc.tween(r).repeatForever(cc.spawn(cc.rotateBy(1, 360), cc.sequence(cc.delayTime(.25), cc.scaleTo(.25, .9), cc.scaleTo(.25, 1), cc.delayTime(.25)))).start()
                }
            },
            e.prototype.doSkill = function(t, e) {
                var o = this;
                return new Promise(function(t) {
                    null == o._targetPos && (o._targetPos = e);
                    for (var i = 0; i < o._ballList.length; i++) {
                        var a = o._ballList[i];
                        if (!a.isShoot) {
                            a.isShoot = !0,
                            o.doShoot(a, o._targetPos);
                            break
                        }
                    }
                    o._hitTimes--,
                    o._hitTimes <= 0 ? (o._hitTimes = 3, o._targetPos = null, t()) : t(n.soldierSkillKind.dartle)
                })
            },
            e.prototype.doShoot = function(t, e) {
                var o = t.node.getPosition().clone(),
                n = 1 / i.
            default.getInstance()._myEnemyTimeScale;
                cc.tween(t.node).to(.5 * n, {
                    position: e
                }).to(.5 * n, {
                    position: o
                }).call(function() {
                    t.isShoot = !1
                }).start()
            },
            e.prototype.clearBall = function() {
                for (var t = 0; t < this._ballList.length; t++) {
                    var e = this._ballList[t];
                    e.node.removeFromParent(),
                    e.node.destroy()
                }
            },
            e.prototype.update = function(t) {
                if (!i.
            default.getInstance()._isGamePause) for (var e = i.
            default.getInstance()._myEnemyTimeScale, o = this.node.getPosition(), n = 0; n < this._ballList.length; n++) {
                    var a = this._ballList[n];
                    if (!a.isShoot) {
                        var r = o.clone().addSelf(a.pos),
                        s = r.x + Math.cos(a.deg) * a.r,
                        c = r.y + Math.sin(a.deg) * a.r;
                        a.node.setPosition(cc.v2(s, c)),
                        a.deg += 5 * t * a.dir * e
                    }
                }
            },
            __decorate([c(cc.Prefab)], e.prototype, "ballSkill", void 0),
            __decorate([s], e)
        } (a.
    default);
        o.
    default = l,
        cc._RF.pop()
    },
    {
        "../data/enemyInfoEnum": "enemyInfoEnum",
        "../utils/GameManager": "GameManager",
        "./CommonSkill": "CommonSkill"
    }],
    FullScreenClick: [function(t, e, o) {
        "use strict";
        cc._RF.push(e, "0a26d1zozdDjZsIXSh8CPNF", "FullScreenClick"),
        Object.defineProperty(o, "__esModule", {
            value: !0
        });
        var n = cc._decorator,
        i = n.ccclass,
        a = n.property,
        r = function(t) {
            function e() {
                var e = null !== t && t.apply(this, arguments) || this;
                return e.clickSke = null,
                e
            }
            return __extends(e, t),
            e.prototype.onLoad = function() {
                cc.game.addPersistRootNode(this.node),
                this.node.on(cc.Node.EventType.TOUCH_START,
                function(t) {
                    this.doAct(t.getLocation())
                },
                this),
                this.node._touchListener.setSwallowTouches(!1)
            },
            e.prototype.doAct = function(t) {
                var e = cc.instantiate(this.clickSke);
                e.setPosition(t),
                e.scale = .3,
                e.getComponent(dragonBones.ArmatureDisplay).playAnimation("Sprite", 1),
                this.node.addChild(e),
                cc.tween(e).to(.4, {
                    scale: 1.5
                }).call(function() {
                    e.removeFromParent(),
                    e.destroy()
                }).start()
            },
            __decorate([a(cc.Prefab)], e.prototype, "clickSke", void 0),
            __decorate([i], e)
        } (cc.Component);
        o.
    default = r,
        cc._RF.pop()
    },
    {}],
    FullScreenCtl: [function(t, e) {
        "use strict";
        cc._RF.push(e, "f6dcaRlXTpLl6k9Ea34I4LW", "FullScreenCtl");
        var o = cc.Class({
            name: "FullScreenCtl",
            properties: {},
            doFullscreen: function() {
                var t = window.document.documentElement;
                t.requestFullscreen ? t.requestFullscreen() : t.mozRequestFullScreen ? t.mozRequestFullScreen() : t.webkitRequestFullscreen ? t.webkitRequestFullscreen() : t.msRequestFullscreen && t.msRequestFullscreen()
            },
            exitFullscreen: function() {
                window.document.exitFullScreen ? window.document.exitFullScreen() : window.document.mozCancelFullScreen ? window.document.mozCancelFullScreen() : window.document.webkitExitFullscreen ? window.document.webkitExitFullscreen() : document.msExitFullscreen && window.document.msExitFullscreen()
            },
            isFullscreenEnabled: function() {
                return !! (window.document.fullscreen || window.document.mozFullScreen || window.document.webkitIsFullScreen || window.document.webkitFullScreen || window.document.msFullScreen)
            }
        });
        cc.FullScreenCtl = new o,
        e.exports = cc.FullScreenCtl,
        cc._RF.pop()
    },
    {}],
    GameChannelCtl: [function(t, e) {
        "use strict";
        cc._RF.push(e, "84251MlBCpH7qy8OE8TWjIF", "GameChannelCtl");
        var o = t("MyChannelEnum");
        cc.Class({
            extends: cc.Component,
            properties: {
                MyChannel: {
                default:
                    [],
                    type: o
                },
                isAll: !1,
                isInverse: !1,
                isCheck4399: !0
            },
            onLoad: function() {
                var t = !1;
                this.isAll ? t = !0 : this.MyChannel.forEach(function(e) {
                    cc.adCtl._curChannel == e && (t = !0)
                }),
                this.isInverse && (t = !t),
                t && this.isCheck4399 && (t = cc.adCtl.testM4399T()),
                cc.adCtl._noneAd && (t = !1),
                this.node.active = t
            },
            start: function() {}
        }),
        cc._RF.pop()
    },
    {
        MyChannelEnum: "MyChannelEnum"
    }],
    GameControl: [function(t, e, o) {
        "use strict";
        cc._RF.push(e, "2cdbe5uDKJHdZ4gLQH/8WqG", "GameControl"),
        Object.defineProperty(o, "__esModule", {
            value: !0
        });
        var n = t("./ActorManager"),
        i = t("./BulletManager"),
        a = t("./EnemyManager"),
        r = t("./UIManager"),
        s = t("../utils/Emitter"),
        c = t("./TrailManager"),
        l = t("../utils/myConfigManager"),
        d = t("../data/shopConfig"),
        u = t("../data/weaponConfig"),
        h = t("../utils/GameManager"),
        p = t("./MyCameraCtl"),
        f = t("../utils/AudioMgr"),
        m = t("../view/TutorialEnum"),
        g = cc._decorator,
        _ = g.ccclass,
        y = g.property,
        v = function(t) {
            function e() {
                var e = null !== t && t.apply(this, arguments) || this;
                return e.myActorManager = null,
                e.myEnemyManager = null,
                e.myBulletManager = null,
                e.myUIManager = null,
                e.myTrailManager = null,
                e.myCameraCtl = null,
                e.bossAppearUI = null,
                e.HourglassNode = null,
                e._curLevelInfo = null,
                e._curDropPer = {},
                e._pauseActList = [],
                e
            }
            return __extends(e, t),
            e.prototype.onLoad = function() {
                h.
            default.getInstance()._isGamePause = !1,
                cc.director.getCollisionManager().enabled = !0,
                this.myEnemyManager.setActorNode(this.myActorManager),
                this.myEnemyManager.setBulletNode(this.myBulletManager),
                this.myBulletManager.setEnemyRoot(this.myEnemyManager),
                this.myBulletManager.setTrailRoot(this.myTrailManager),
                this.myActorManager.setGameRoot(this),
                this.myUIManager.myCustomsIcon.setMaxLv(l.
            default.getInstance().getLevelInfoData().length),
                this.myUIManager.myCustomsIcon.setDegreeCtl(0),
                this.myUIManager.myCustomsIcon.setCurLv(0),
                s.
            default.getInstance().on("myGameControl", this.gameControlEvent, this),
                this.scheduleOnce(function() {
                    cc.adCtl.startRecord(),
                    this.myUIManager.showLotteryUI(2, null,
                    function() {
                        s.
                    default.getInstance().emit("aboveBarMgr", {
                            name: "getExp",
                            exp: 5
                        })
                    })
                },
                .1)
            },
            e.prototype.onDestroy = function() {
                cc.director.getCollisionManager().enabled = !1,
                s.
            default.getInstance().off("myGameControl", this)
            },
            e.prototype.getCurActor = function() {
                return this.myActorManager.ActorNode
            },
            e.prototype.gameControlEvent = function(t) {
                var e = this;
                if ("enemyDead" == t.name) {
                    this.myActorManager.enemyDeadCall();
                    var o = this.getDropAward(0 == t.kind ? "enemy": "boss", t.gold);
                    if (l.
                default.getInstance()._curLevelPass % 10 == 0 && 0 == t.kind && (o = []), s.
                default.getInstance().emit("myDropAwardManager", {
                        name: "drop",
                        list: o,
                        pos: t.pos
                    }), 0 == this.myEnemyManager.getEnemies()) {
                        s.
                    default.getInstance().emit("Hourglass_skill", {
                            name: "end"
                        }),
                        s.
                    default.getInstance().emit("myGameControl", {
                            name: "HourglassEffect",
                            isAppear: !1,
                            showName: "\u6c99\u6f0f"
                        });
                        var n = 2;
                        1 == t.kind && (cc.adCtl.selfClipVideo(), cc.director.getScheduler().setTimeScale(.3), n = .5),
                        this.node.stopAllActions(),
                        cc.tween(this.node).delay(1).call(function() {
                            e.myEnemyManager.node.removeAllChildren(),
                            s.
                        default.getInstance().emit("myDropAwardManager", {
                                name: "get",
                                target: e.myActorManager.ActorNode
                            })
                        }).delay(n).call(function() {
                            1 == t.kind && cc.director.getScheduler().setTimeScale(1),
                            h.
                        default.getInstance().getTutorialData(m.TutorialEnum.step_get_key - 1) && l.
                        default.getInstance()._curLevelPass >= 10 ? e.myUIManager.showResultUI(!0) : (cc.adCtl.endRecord(null), 1 == t.kind ? e.myUIManager.showLotteryUI(3, e, e.lotteryCallBack) : e.lotteryCallBack())
                        }).start()
                    }
                } else if ("BossAppear" == t.name) this.bossAppearUI.active = t.isAppear,
                t.isAppear ? (f.
            default.getInstance().playSFX("BossApear"), f.
            default.getInstance().doShock(1), this.myCameraCtl.changeWatchTarget(t.node), this.myUIManager.setBossAppearUI(!0), this.bossAppearUI.getComponentInChildren(cc.Label).string = t.showName, this.myActorManager.waitForBoss(!0)) : (this.myCameraCtl.changeWatchTarget(null), this.myUIManager.setBossAppearUI(!1), this.myActorManager.waitForBoss(!1));
                else if ("nextLv" == t.name) {
                    f.
                default.getInstance().playSFX("nextlevel"),
                    l.
                default.getInstance()._curLevelPass++,
                    this.myUIManager.setWave(l.
                default.getInstance()._curLevelPass);
                    var i = l.
                default.getInstance()._curLevelPass % 10 == 0;
                    s.
                default.getInstance().emit("onPropetyState", {
                        name: "refresh",
                        isBoss: i
                    }),
                    this.myUIManager.myCustomsIcon.setBoss(i),
                    this.scheduleOnce(function() {
                        this.doNextLv()
                    },
                    1)
                } else "gamePlayState" == t.name ? this.gamePlayState(t.state) : "actorDead" == t.name ? h.
            default.getInstance().getTutorialData(m.TutorialEnum.none, m.TutorialEnum.step_to_war1) ? this.myActorManager.actorRevive() : (s.
            default.getInstance().emit("Hourglass_skill", {
                    name: "end"
                }), s.
            default.getInstance().emit("myGameControl", {
                    name: "HourglassEffect",
                    isAppear: !1,
                    showName: "\u6c99\u6f0f"
                }), this.gamePlayState(!0), cc.adCtl.testM4399T() ? this.myUIManager.showReviveUI() : this.myUIManager.showResultUI(!1)) : "showResult" == t.name ? (this.gamePlayState(!0), this.myUIManager.showResultUI(!1)) : "doRevive" == t.name ? (this.gamePlayState(!1), this.myActorManager.actorRevive()) : "HourglassEffect" == t.name && (this.bossAppearUI.active = t.isAppear, t.isAppear && (this.HourglassNode.getComponent("HourglassEffect").showAct(3), this.bossAppearUI.getComponentInChildren(cc.Label).string = t.showName))
            },
            e.prototype.loadNextLv = function() {
                var t = l.
            default.getInstance()._curLevelPass;
                this.myUIManager.myCustomsIcon.setCurLv(t),
                this._curLevelInfo = l.
            default.getInstance().getLevelInfoData()[t - 1];
                var e = this._curLevelInfo.enemyDrop.split(",");
                this._curDropPer.list = e;
                for (var o = 0,
                n = 0; n < e.length; n++) {
                    var i = e[n];
                    o += parseInt(i)
                }
                this._curDropPer.fullWeight = o
            },
            e.prototype.doNextLv = function() {
                this.loadNextLv(),
                this.myEnemyManager.doNextLv(this._curLevelInfo),
                h.
            default.getInstance().getTutorialData(m.TutorialEnum.step_do_sl - 1) && (this.gamePlayState(!0), s.
            default.getInstance().emit("touch_tutorial", {
                    step: m.TutorialEnum.step_do_sl - 1
                }))
            },
            e.prototype.getDropAward = function(t, e) {
                var o = [];
                o.push({
                    kind: d.myAwardEnum.gold,
                    num: Math.floor(.5 * e)
                }),
                o.push({
                    kind: d.myAwardEnum.gold,
                    num: Math.floor(.5 * e)
                }),
                h.
            default.getInstance()._tempGameDrop[0].num += e;
                for (var n = 0; n < this._curLevelInfo.dropNum; n++) {
                    for (var i = Math.floor(Math.random() * this._curDropPer.fullWeight), a = -1, r = 0; r < this._curDropPer.list.length; r++) {
                        var s = this._curDropPer.list[r];
                        if (0 != s && (i -= s) <= 0) {
                            a = r;
                            break
                        }
                    }
                    if (0 == a) {
                        var c = l.
                    default.getInstance().getRandomWeaponFull(t);
                        o.push({
                            kind:
                            c.kind,
                            data: c
                        }),
                        h.
                    default.getInstance()._tempGameDrop.push({
                            awardId:
                            c.kind,
                            data: c
                        })
                    } else if (1 == a) {
                        var p = (c = [d.myAwardEnum.weaponReel, d.myAwardEnum.clothesReel, d.myAwardEnum.shoeReel, d.myAwardEnum.glovesReel, d.myAwardEnum.accessoriesReel])[f = Math.floor(Math.random() * c.length)];
                        for (o.push({
                            kind: p,
                            num: 1
                        }), r = 0; r < h.
                    default.getInstance()._tempGameDrop.length; r++) h.
                    default.getInstance()._tempGameDrop[r].awardId == p && (p = 0, h.
                    default.getInstance()._tempGameDrop[r].num++);
                        p > 0 && h.
                    default.getInstance()._tempGameDrop.push({
                            awardId:
                            p,
                            num: 1
                        })
                    } else if (2 == a) {
                        var f = Math.floor(Math.random() * u.RuneInfoConfig.length);
                        o.push({
                            kind: d.myAwardEnum.rune,
                            data: {
                                kind: f,
                                lv: 1
                            }
                        }),
                        h.
                    default.getInstance()._tempGameDrop.push({
                            awardId:
                            d.myAwardEnum.rune,
                            data: {
                                kind: f,
                                lv: 1
                            }
                        })
                    }
                }
                return h.
            default.getInstance().getTutorialData(m.TutorialEnum.step_get_key - 1) && "boss" == t && (c = l.
            default.getInstance().getWeaponByKind(d.myAwardEnum.weapon, 1, 1, 5), o.push({
                    kind: c.kind,
                    data: c
                }), h.
            default.getInstance()._tempGameDrop.push({
                    awardId:
                    c.kind,
                    data: c
                }), o.push({
                    kind: d.myAwardEnum.goldKey,
                    num: 1
                }), h.
            default.getInstance()._tempGameDrop.push({
                    awardId:
                    d.myAwardEnum.goldKey,
                    num: 1
                }), o.push({
                    kind: d.myAwardEnum.rune,
                    data: {
                        kind: 2,
                        lv: 1
                    }
                }), o.push({
                    kind: d.myAwardEnum.rune,
                    data: {
                        kind: 2,
                        lv: 1
                    }
                }), o.push({
                    kind: d.myAwardEnum.rune,
                    data: {
                        kind: 2,
                        lv: 1
                    }
                }), h.
            default.getInstance()._tempGameDrop.push({
                    awardId:
                    d.myAwardEnum.rune,
                    data: {
                        kind: 2,
                        lv: 1
                    }
                }), h.
            default.getInstance()._tempGameDrop.push({
                    awardId:
                    d.myAwardEnum.rune,
                    data: {
                        kind: 2,
                        lv: 1
                    }
                }), h.
            default.getInstance()._tempGameDrop.push({
                    awardId:
                    d.myAwardEnum.rune,
                    data: {
                        kind: 2,
                        lv: 1
                    }
                })),
                o
            },
            e.prototype.gamePlayState = function(t) {
                if (h.
            default.getInstance()._isGamePause = t, t) {
                    if (this._pauseActList.length > 0) return;
                    this._pauseActList = cc.director.getActionManager().pauseAllRunningActions()
                } else this._pauseActList.length > 0 && (cc.director.getActionManager().resumeTargets(this._pauseActList), this._pauseActList = []);
                this.myEnemyManager.node.children.forEach(function(e) {
                    e.getComponent("BaseEnemy").setIsPause(t)
                }),
                this.myActorManager.setIsPause(t)
            },
            e.prototype.lotteryCallBack = function() {
                l.
            default.getInstance()._curLevelPass >= 50 ? this.myUIManager.showResultUI(!0) : s.
            default.getInstance().emit("aboveBarMgr", {
                    name: "getExp",
                    exp: 10
                })
            },
            __decorate([y({
                type: n.
            default
            })], e.prototype, "myActorManager", void 0),
            __decorate([y({
                type: a.
            default
            })], e.prototype, "myEnemyManager", void 0),
            __decorate([y({
                type: i.
            default
            })], e.prototype, "myBulletManager", void 0),
            __decorate([y({
                type: r.
            default
            })], e.prototype, "myUIManager", void 0),
            __decorate([y({
                type: c.
            default
            })], e.prototype, "myTrailManager", void 0),
            __decorate([y({
                type: p.
            default
            })], e.prototype, "myCameraCtl", void 0),
            __decorate([y(cc.Node)], e.prototype, "bossAppearUI", void 0),
            __decorate([y(cc.Node)], e.prototype, "HourglassNode", void 0),
            __decorate([_], e)
        } (cc.Component);
        o.
    default = v,
        cc._RF.pop()
    },
    {
        "../data/shopConfig": "shopConfig",
        "../data/weaponConfig": "weaponConfig",
        "../utils/AudioMgr": "AudioMgr",
        "../utils/Emitter": "Emitter",
        "../utils/GameManager": "GameManager",
        "../utils/myConfigManager": "myConfigManager",
        "../view/TutorialEnum": "TutorialEnum",
        "./ActorManager": "ActorManager",
        "./BulletManager": "BulletManager",
        "./EnemyManager": "EnemyManager",
        "./MyCameraCtl": "MyCameraCtl",
        "./TrailManager": "TrailManager",
        "./UIManager": "UIManager"
    }],
    GameCtl: [function(t, e) {
        "use strict";
        cc._RF.push(e, "42df4SPNPRGZqu6GMVIJYFa", "GameCtl");
        var o = t("MyGameEnum");
        cc.Class({
            extends: cc.Component,
            properties: {
                MyGame: {
                default:
                    o.gm_default,
                    type: o
                }
            },
            onLoad: function() {
                this.node.active = cc.adCtl._curGame == this.MyGame
            },
            start: function() {}
        }),
        cc._RF.pop()
    },
    {
        MyGameEnum: "MyGameEnum"
    }],
    GameManager: [function(t, e, o) {
        "use strict";
        cc._RF.push(e, "a574fes1NJJ9bp3ZnypAWVV", "GameManager"),
        Object.defineProperty(o, "__esModule", {
            value: !0
        });
        var n = t("../data/weaponConfig"),
        i = t("../data/shopConfig"),
        a = t("./myConfigManager"),
        r = t("./Emitter"),
        s = cc._decorator,
        c = s.ccclass,
        l = (s.property,
        function(t) {
            function e() {
                var e = null !== t && t.apply(this, arguments) || this;
                return e._myRecordData = null,
                e._removeTail = !1,
                e._tempGameDrop = [],
                e._myEnemyTimeScale = 1,
                e._isGamePause = !1,
                e._isOffline = !0,
                e._tutorialNode = null,
                e
            }
            var o;
            return __extends(e, t),
            o = e,
            e.getInstance = function() {
                return null == o._instance && (o._instance = new o, o._instance.initData(), cc.GameManager = o._instance),
                o._instance
            },
            e.prototype.start = function() {},
            e.prototype.initData = function() {
                var t = cc.sys.localStorage.getItem("EndlessBoundaryData");
                t ? this._myRecordData = JSON.parse(t) : (this._myRecordData = {
                    selfGold: 2e3,
                    selfStone: 0,
                    selfPower: 20,
                    selfLv: 1,
                    selfExp: 0,
                    selfDifficulty: 0,
                    selfPackCap: [30, 30],
                    selfLevelInfo: [[0, -1, -1, -1, -1], [0, -1, -1, -1, -1]],
                    selfLevelAward: [[0, 0, 0, 0, 0], [0, 0, 0, 0, 0]],
                    selfRuneList: [],
                    selfRuneSelect: new Array(12).fill( - 1),
                    selfEquipList: [],
                    selfEquipSelect: new Array(6).fill( - 1),
                    selfRealList: {},
                    selfTelantList: new Array(7).fill(0),
                    selfOwnKey: new Array(2).fill(0)
                },
                this.setOfflineTime(), this.savaMyData())
            },
            e.prototype.savaMyData = function() {
                cc.sys.localStorage.setItem("EndlessBoundaryData", JSON.stringify(this._myRecordData))
            },
            e.prototype.getData = function(t) {
                return this._myRecordData.hasOwnProperty(t) ? this._myRecordData[t] : (cc.warn("getData error ", t), null)
            },
            e.prototype.setData = function(t, e, o) {
                void 0 === o && (o = !0),
                this._myRecordData[t] = e,
                o && this.savaMyData()
            },
            e.prototype.addData = function(t, e) {
                "number" == typeof this._myRecordData[t] ? (this._myRecordData[t] += e, this.savaMyData()) : console.log("addData error name = ", t)
            },
            e.prototype.addGold = function(t, e) {
                void 0 === e && (e = !0);
                var o = this.getData("selfGold");
                o || (o = 0),
                o += t = parseInt(t),
                this.setData("selfGold", o),
                e && this.showToast("\u83b7\u5f97\u5b9d\u77f3\u7c89:" + t, "\u63d0\u793a",
                function() {
                    r.
                default.getInstance().emit("coin_fly", {
                        name: "gold",
                        startpos: cc.v2(0, 0)
                    })
                })
            },
            e.prototype.addStone = function(t, e) {
                void 0 === e && (e = !0);
                var o = this.getData("selfStone");
                o || (o = 0),
                o += t = parseInt(t),
                this.setData("selfStone", o),
                e && this.showToast("\u83b7\u5f97\u94bb\u77f3:" + t, "\u63d0\u793a",
                function() {
                    r.
                default.getInstance().emit("coin_fly", {
                        name: "stone",
                        startpos: cc.v2(0, 0)
                    })
                })
            },
            e.prototype.expendGold = function(t) {
                var e = this.getData("selfGold");
                if (null != e) return e >= t && (e -= t, this.setData("selfGold", e), !0)
            },
            e.prototype.expendStone = function(t) {
                var e = this.getData("selfStone");
                if (null != e) return e >= t && (e -= t, this.setData("selfStone", e), !0)
            },
            e.prototype.expendReels = function(t, e) {
                var o = this.getData("selfRealList");
                return o[t] >= e && (o[t] -= e, this.setData("selfRealList", o), !0)
            },
            e.prototype.getRuneInfo = function() {
                var t = this;
                return new Promise(function(e) {
                    var o = {};
                    t._myRecordData.selfRuneSelect.forEach(function(t) {
                        if ("object" == typeof t) {
                            var e = n.RuneInfoConfig[t.kind],
                            i = e.
                        default + e.add * (t.lv - 1);
                            i = parseFloat(i.toFixed(2)),
                            o.hasOwnProperty(e.proKind) ? o[e.proKind] += i: o[e.proKind] = i
                        }
                    }),
                    e(o)
                })
            },
            e.prototype.sortMyObjlist = function(t, e) {
                t.sort(function(t, o) {
                    return o[e] - t[e]
                })
            },
            e.prototype.showToast = function(t, e, o) {
                void 0 === e && (e = "\u63d0\u793a"),
                void 0 === o && (o = null),
                cc.loader.loadRes("viewPrefabs/ToastNode",
                function(n, i) {
                    if (!n) {
                        var a = cc.instantiate(i);
                        cc.find("Canvas").addChild(a),
                        a.getComponent("ToastNode").setString(e, t),
                        a.getComponent("ToastNode").setCallBack(o)
                    }
                })
            },
            e.prototype.getAwardsByKind = function(t, e) {
                var o = this;
                void 0 === e && (e = !0);
                var n = [];
                Array.isArray(t) ? n = t: n.push(t);
                var r = this.getData("selfRealList"),
                s = this.getData("selfOwnKey"),
                c = [];
                return n.forEach(function(t) {
                    var e = "",
                    n = 0,
                    l = 0;
                    switch (t.awardId) {
                    case i.myAwardEnum.gold:
                        o.addGold(t.num, !1),
                        e = a.
                    default.getInstance().getNameByAwardKind(t.awardId),
                        n = t.num;
                        break;
                    case i.myAwardEnum.stone:
                        o.addStone(t.num, !1),
                        e = a.
                    default.getInstance().getNameByAwardKind(t.awardId),
                        n = t.num;
                        break;
                    case i.myAwardEnum.power:
                        var d = o.getData("selfPower");
                        d += t.num,
                        o.setData("selfPower", d),
                        e = a.
                    default.getInstance().getNameByAwardKind(t.awardId),
                        n = t.num;
                        break;
                    case i.myAwardEnum.weaponReel:
                        r.hasOwnProperty(i.myAwardEnum.weapon) ? r[i.myAwardEnum.weapon] += t.num: r[i.myAwardEnum.weapon] = t.num,
                        e = a.
                    default.getInstance().getNameByAwardKind(t.awardId),
                        n = t.num;
                        break;
                    case i.myAwardEnum.clothesReel:
                        r.hasOwnProperty(i.myAwardEnum.clothes) ? r[i.myAwardEnum.clothes] += t.num: r[i.myAwardEnum.clothes] = t.num,
                        e = a.
                    default.getInstance().getNameByAwardKind(t.awardId),
                        n = t.num;
                        break;
                    case i.myAwardEnum.shoeReel:
                        r.hasOwnProperty(i.myAwardEnum.shoe) ? r[i.myAwardEnum.shoe] += t.num: r[i.myAwardEnum.shoe] = t.num,
                        e = a.
                    default.getInstance().getNameByAwardKind(t.awardId),
                        n = t.num;
                        break;
                    case i.myAwardEnum.glovesReel:
                        r.hasOwnProperty(i.myAwardEnum.gloves) ? r[i.myAwardEnum.gloves] += t.num: r[i.myAwardEnum.gloves] = t.num,
                        e = a.
                    default.getInstance().getNameByAwardKind(t.awardId),
                        n = t.num;
                        break;
                    case i.myAwardEnum.accessoriesReel:
                        r.hasOwnProperty(i.myAwardEnum.accessories) ? r[i.myAwardEnum.accessories] += t.num: r[i.myAwardEnum.accessories] = t.num,
                        e = a.
                    default.getInstance().getNameByAwardKind(t.awardId),
                        n = t.num;
                        break;
                    case i.myAwardEnum.silverKey:
                        e = a.
                    default.getInstance().getNameByAwardKind(t.awardId),
                        n = t.num,
                        s[0]++;
                        break;
                    case i.myAwardEnum.goldKey:
                        e = a.
                    default.getInstance().getNameByAwardKind(t.awardId),
                        n = t.num,
                        s[1]++;
                        break;
                    case i.myAwardEnum.weapon:
                    case i.myAwardEnum.clothes:
                    case i.myAwardEnum.shoe:
                    case i.myAwardEnum.gloves:
                    case i.myAwardEnum.accessories:
                        e = a.
                    default.getInstance().getNameByAwardKind(t.data.kind) + t.data.index,
                        n = 1;
                        var u = o.getData("selfEquipList");
                        u.push(t.data),
                        o.setData("selfEquipList", u, !1),
                        l = t.data.quality + 1;
                        break;
                    case i.myAwardEnum.rune:
                        e = a.
                    default.getInstance().getNameByAwardKind(i.myAwardEnum.rune, t.data.kind) + t.data.lv,
                        n = 1;
                        var h = o.getData("selfRuneList");
                        h.push(t.data),
                        o.setData("selfRuneList", h, !1),
                        l = Math.floor(t.data.lv / 4) + 1
                    }
                    c.push({
                        name: e,
                        num: n,
                        kind: t.awardId,
                        frame: l
                    })
                }),
                this.setData("selfRealList", r, !1),
                this.setData("selfOwnKey", s, !1),
                this.savaMyData(),
                e ? (this.showAwardTips(c, "\u83b7\u5f97\u7269\u54c1"), null) : c
            },
            e.prototype.showAwardTips = function(t, e, o) {
                void 0 === o && (o = null),
                cc.loader.loadRes("viewPrefabs/awardTipsNode",
                function(n, i) {
                    if (!n) {
                        var a = cc.instantiate(i);
                        a.zIndex = 100,
                        a.getComponent("awardTipsNode").setAwardInfo(t, e),
                        a.getComponent("awardTipsNode").setCallBack(o),
                        cc.find("Canvas").addChild(a)
                    }
                })
            },
            e.prototype.showVideoToast = function(t, e, o, n) {
                cc.loader.loadRes("viewPrefabs/videoToastNode",
                function(i, a) {
                    if (!i) {
                        var r = cc.instantiate(a);
                        r.getComponent("videoToastNode").setString(t, e),
                        r.getComponent("videoToastNode").setCallBack(o, n),
                        cc.find("Canvas").addChild(r)
                    }
                })
            },
            e.prototype.setMyGameRate = function() {
                cc.game.setFrameRate(30)
            },
            e.prototype.getMyPrefab = function(t) {
                return new Promise(function(e) {
                    cc.loader.loadRes(t,
                    function(t, o) {
                        t || e(o)
                    })
                })
            },
            e.prototype.setOfflineTime = function() {
                this._isOffline = !0,
                cc.sys.localStorage.setItem("pinatamastersData_offlintime", Math.floor(.001 * (new Date).getTime()))
            },
            e.prototype.getOfflineAward = function() {
                var t = Math.floor(.001 * (new Date).getTime()),
                e = cc.sys.localStorage.getItem("pinatamastersData_offlintime");
                return e ? (e = t - parseInt(e), this._isOffline ? (this._isOffline = !1, e) : 0) : 0
            },
            e.prototype.pricetoString = function(t) {
                var e = "0";
                e = "string" == typeof t ? t: (t || 0).toString();
                for (var o = "",
                n = []; e.length > 3;) {
                    var i = e.slice( - 3);
                    n.push(i),
                    e = e.slice(0, e.length - 3)
                }
                if (e && n.push(e), 1 == n.length) o = n[0];
                else if (2 == n.length) o = n[1] + "." + n[0].substring(0, 1) + "K";
                else if (3 == n.length) o = n[2] + "." + n[1].substring(0, 1) + "M";
                else if (4 == n.length) o = n[3] + "." + n[2].substring(0, 1) + "B";
                else if (5 == n.length) o = n[4] + "." + n[3].substring(0, 1) + "T";
                else if (6 == n.length) o = n[5] + "." + n[4].substring(0, 1) + "aa";
                else if (7 == n.length) o = n[6] + "." + n[5].substring(0, 1) + "bb";
                else if (8 == n.length) o = n[7] + "." + n[6].substring(0, 1) + "cc";
                else {
                    for (var a = "",
                    r = n.length - 1; r > 7; r--) a += n[r];
                    o = a + "." + n[7].substring(0, 2) + "uu"
                }
                return o
            },
            e.prototype.getMyUUid = function() {
                return this.S4() + this.S4() + this.S4()
            },
            e.prototype.S4 = function() {
                return (65536 * (1 + Math.random()) | 0).toString(16).substring(1)
            },
            e.prototype.getMyUUID2 = function() {
                return "xxxx-yxxx-xxxy".replace(/[xy]/g,
                function(t) {
                    var e = 16 * Math.random() | 0;
                    return ("x" == t ? e: 3 & e | 8).toString(16)
                })
            },
            e.prototype.PrefixZero = function(t, e) {
                return (Array(e).join("0") + t).slice( - e)
            },
            e.prototype.getTutorialData = function(t, e) {
                return void 0 === e && (e = null),
                !!this._tutorialNode && (e ? t <= this._tutorialNode._getTutorialData() && e >= this._tutorialNode._getTutorialData() : t == this._tutorialNode._getTutorialData())
            },
            e._instance = null,
            o = __decorate([c], e)
        } (cc.Component));
        o.
    default = l,
        cc._RF.pop()
    },
    {
        "../data/shopConfig": "shopConfig",
        "../data/weaponConfig": "weaponConfig",
        "./Emitter": "Emitter",
        "./myConfigManager": "myConfigManager"
    }],
    GradientEffect: [function(t, e, o) {
        "use strict";
        cc._RF.push(e, "17497kIP5BLTYvG2GRKdihh", "GradientEffect"),
        Object.defineProperty(o, "__esModule", {
            value: !0
        });
        var n = cc._decorator,
        i = n.ccclass,
        a = (n.property,
        function(t) {
            function e() {
                var e = null !== t && t.apply(this, arguments) || this;
                return e.rootNode = null,
                e.material = null,
                e.time = 0,
                e
            }
            return __extends(e, t),
            e.prototype.start = function() {
                this.rootNode = this.node.getComponent(cc.Sprite),
                this.material = this.rootNode.getMaterial(0)
            },
            e.prototype.startFadeOut = function() {
                this.schedule(this.upd, 0, cc.macro.REPEAT_FOREVER, .2)
            },
            e.prototype.upd = function() {
                this.time += .02,
                this.material.setProperty("ntime", this.time),
                this.time > 1.2 && (this.unschedule(this.upd), this.node.removeFromParent())
            },
            __decorate([i], e)
        } (cc.Component));
        o.
    default = a,
        cc._RF.pop()
    },
    {}],
    HomeScene: [function(t, e, o) {
        "use strict";
        cc._RF.push(e, "cacb2DfCOFP8Z5aaWtZnhC1", "HomeScene"),
        Object.defineProperty(o, "__esModule", {
            value: !0
        });
        var n = t("../../utils/AudioMgr"),
        i = t("../../utils/Emitter"),
        a = t("../../utils/GameManager"),
        r = t("../../utils/PopWinManager"),
        s = t("../../utils/wyxTools"),
        c = t("../TutorialEnum"),
        l = cc._decorator,
        d = l.ccclass,
        u = l.property,
        h = function(t) {
            function e() {
                var e = null !== t && t.apply(this, arguments) || this;
                return e.selectRoot = null,
                e.selectItemPrefab = [],
                e.settingNodePrefab = null,
                e.passAwardNode = null,
                e.lotteryPrefab = null,
                e.LoginAwardPrefab = null,
                e.NoviceAwardPrefab = null,
                e.CommentPrefab = null,
                e
            }
            return __extends(e, t),
            e.prototype.onLoad = function() {
                n.
            default.getInstance(),
                i.
            default.getInstance().on("showUI", this.showNode, this),
                this.getSelectNode(0),
                this.scheduleOnce(function() {
                    if (!a.
                default.getInstance().getTutorialData(c.TutorialEnum.none, c.TutorialEnum.step_to_war1) && !cc.adCtl.testChannel(5)) {
                        this.initLoginAward();
                        var t = cc.sys.localStorage.getItem("end_NoviceAward_day"),
                        e = (new Date).getDate();
                        t != e && this.initNoviceAward();
                        var o = s.
                    default.getIntData("end_comment", 0),
                        n = s.
                    default.getIntData("end_commentComplete", 0);
                        o == e || n || this.initComment()
                    }
                },
                .5)
            },
            e.prototype.onDestroy = function() {
                i.
            default.getInstance().off("showUI", this)
            },
            e.prototype.showNode = function(t) {
                if ("war" == t.name) this.getSelectNode(0);
                else if ("rune" == t.name)(e = this.getSelectNode(1)).getComponent("WarehouseNode").setShow(0);
                else if ("equip" == t.name)(e = this.getSelectNode(1)).getComponent("WarehouseNode").setShow(1);
                else if ("telant" == t.name) this.getSelectNode(2);
                else if ("shop" == t.name) {
                    var e = this.getSelectNode(3);
                    t.index && e.getComponent("ShopCtlNode").jumpToNode(t.index - 1)
                } else if ("setting" == t.name) {
                    var o = cc.instantiate(this.settingNodePrefab);
                    this.node.addChild(o)
                } else "passaward" == t.name ? ((o = cc.instantiate(this.passAwardNode)).getComponent("passAwardNode").setCurSelect(t), this.node.addChild(o)) : "lottery" == t.name ? (o = cc.instantiate(this.lotteryPrefab), this.node.addChild(o)) : "loginAward" == t.name ? (e = cc.instantiate(this.LoginAwardPrefab), this.node.addChild(e)) : "NoviceAward" == t.name ? this.initNoviceAward() : "saveIconNode" == t.name && (e = cc.instantiate(this.CommentPrefab), r.
            default.getInstance().setWinInfo("CommentPrefab", e, this.node))
            },
            e.prototype.initComment = function() {
                if (s.
            default.getIntData("end_completelv", 0) > 0 && (s.
            default.remmoveData("end_completelv"), cc.adCtl.getIsHaveDesktopIcon())) {
                    var t = cc.instantiate(this.CommentPrefab);
                    r.
                default.getInstance().setWinInfo("CommentPrefab", t, this.node)
                }
            },
            e.prototype.initNoviceAward = function() {
                if ((cc.sys.localStorage.getItem("end_NoviceAward_count") || 0) < 4) {
                    var t = cc.instantiate(this.NoviceAwardPrefab);
                    r.
                default.getInstance().setWinInfo("initNoviceAward", t, this.node)
                }
            },
            e.prototype.initLoginAward = function() {
                var t = s.
            default.getIntData("end_LoginAwardDy"),
                e = s.
            default.getIntData("end_LoginAwardCount");
                if (t != (new Date).getDate() && e < 7) {
                    var o = cc.instantiate(this.LoginAwardPrefab);
                    r.
                default.getInstance().setWinInfo("initLoginAward", o, this.node)
                }
            },
            e.prototype.settingBtn = function() {
                n.
            default.getInstance().playButton();
                var t = cc.instantiate(this.settingNodePrefab);
                this.node.addChild(t)
            },
            e.prototype.getSelectNode = function(t) {
                var e = null,
                o = this.selectItemPrefab[t];
                return o ? (this.selectRoot.children.forEach(function(t) {
                    t.name == o.name ? (t.active = !0, e = t) : t.active = !1
                }), e || (e = cc.instantiate(o), this.selectRoot.addChild(e)), e) : null
            },
            __decorate([u(cc.Node)], e.prototype, "selectRoot", void 0),
            __decorate([u([cc.Prefab])], e.prototype, "selectItemPrefab", void 0),
            __decorate([u(cc.Prefab)], e.prototype, "settingNodePrefab", void 0),
            __decorate([u(cc.Prefab)], e.prototype, "passAwardNode", void 0),
            __decorate([u(cc.Prefab)], e.prototype, "lotteryPrefab", void 0),
            __decorate([u(cc.Prefab)], e.prototype, "LoginAwardPrefab", void 0),
            __decorate([u(cc.Prefab)], e.prototype, "NoviceAwardPrefab", void 0),
            __decorate([u(cc.Prefab)], e.prototype, "CommentPrefab", void 0),
            __decorate([d], e)
        } (cc.Component);
        o.
    default = h,
        cc._RF.pop()
    },
    {
        "../../utils/AudioMgr": "AudioMgr",
        "../../utils/Emitter": "Emitter",
        "../../utils/GameManager": "GameManager",
        "../../utils/PopWinManager": "PopWinManager",
        "../../utils/wyxTools": "wyxTools",
        "../TutorialEnum": "TutorialEnum"
    }],
    HourglassEffect: [function(t, e, o) {
        "use strict";
        cc._RF.push(e, "72ccaQFFwhAs4AnRZktw7DH", "HourglassEffect"),
        Object.defineProperty(o, "__esModule", {
            value: !0
        });
        var n = cc._decorator,
        i = n.ccclass,
        a = n.property,
        r = function(t) {
            function e() {
                var e = null !== t && t.apply(this, arguments) || this;
                return e.itemNode = null,
                e
            }
            return __extends(e, t),
            e.prototype.onLoad = function() {},
            e.prototype.showAct = function(t) {
                for (var e = cc.winSize.width / 5,
                o = .25 * cc.winSize.height,
                n = 0; n < 10; n++) {
                    var i = Math.floor(n / 5),
                    a = .5 * -cc.winSize.width + e * (n % Math.floor(5)) + Math.floor(Math.random() * e),
                    r = o * i + Math.floor(Math.random() * o),
                    s = cc.instantiate(this.itemNode);
                    s.scale = .6 * Math.random() + .5,
                    s.active = !0,
                    s.opacity = 50 * Math.random() + 60,
                    s.setPosition(cc.v2(a, r)),
                    this.node.addChild(s);
                    var c = s.getChildByName("a1"),
                    l = s.getChildByName("a2");
                    cc.tween(s).delay(t).to(1, {
                        opacity: 0
                    }).removeSelf().start(),
                    cc.tween(c).repeatForever(cc.rotateBy(5 * Math.random() + 10, 360)).start(),
                    cc.tween(l).repeatForever(cc.rotateBy(3 * Math.random() + 1, 360)).start()
                }
            },
            __decorate([a(cc.Node)], e.prototype, "itemNode", void 0),
            __decorate([i], e)
        } (cc.Component);
        o.
    default = r,
        cc._RF.pop()
    },
    {}],
    HuaweiAdManager: [function(t, e) {
        "use strict";
        cc._RF.push(e, "d1872kCuU9OiphKMe5RCeS2", "HuaweiAdManager");
        var o = t("BaseManager");
        cc.Class({
            extends: o,
            ctor: function() {
                this._nativeAd = null,
                this._nativeData = null,
                this._rewardedVideoAd = null,
                this.videoAdCall = null,
                this.appId_adUnitId = "",
                this.video_adUnitId = "",
                this.native_adUnitId = "",
                this._isLoadVideo = !1
            },
            initSDK: function() {
                this.myAdChannel = "huawei";
                var t = cc.adCtl.getAdInfo("huawei");
                t && (this.appId_adUnitId = t.appId, this.video_adUnitId = t.video, this.native_adUnitId = t.native, this.initMyVideoAds())
            },
            showVideo: function(t) {
                this.videoAdCall = t,
                this._isLoadVideo ? (this._isLoadVideo = !1, this._rewardedVideoAd && this._rewardedVideoAd.show()) : (hbs.showToast({
                    message: "\u65e0\u5e7f\u544a"
                }), this._rewardedVideoAd && this._rewardedVideoAd.load())
            },
            showNative: function() {
                this.loadNativeAd()
            },
            getNativeAdData: function() {
                return null != this._nativeData && this._nativeData.length > 0 ? this._nativeData[0] : null != this._nativeAd ? (this._nativeAd.load(), null) : void 0
            },
            nativeAdEvent: function(t, e) {
                1 == t ? this.showNativeAd(e) : this.clickNativeAd(e)
            },
            initMyVideoAds: function() {
                var t = this;
                "" != this.video_adUnitId && (this._rewardedVideoAd = hbs.createRewardedVideoAd({
                    adUnitId: this.video_adUnitId,
                    success: function() {
                        console.log("ad demo : loadAndShowVideoAd createRewardedVideoAd: success")
                    },
                    fail: function(t, e) {
                        console.log("ad demo : loadAndShowVideoAd createRewardedVideoAd fail: " + t + "," + e)
                    },
                    complete: function() {
                        console.log("ad demo : loadAndShowVideoAd createRewardedVideoAd complete")
                    }
                }), this._rewardedVideoAd.onLoad(function() {
                    console.log("ad loaded."),
                    t._isLoadVideo = !0
                }), this._rewardedVideoAd.onError(function(t) {
                    console.error("load ad error:" + JSON.stringify(t))
                }), this._rewardedVideoAd.onClose(function(e) {
                    console.log("ad onClose: " + e.isEnded),
                    t.videoAdCall(e.isEnded ? 1 : 0),
                    t._rewardedVideoAd.load()
                }), this._rewardedVideoAd.load())
            },
            loadNativeAd: function() {
                var t = this;
                "" != this.native_adUnitId && (this._nativeAd && this._nativeAd.offLoad(), this._nativeAd = hbs.createNativeAd({
                    adUnitId: this.native_adUnitId,
                    success: function() {
                        console.log("loadNativeAd loadNativeAd : success")
                    },
                    fail: function(t, e) {
                        console.log("loadNativeAd loadNativeAd fail: " + t + "," + e)
                    },
                    complete: function() {
                        console.log("loadNativeAd loadNativeAd : complete")
                    }
                }), this._nativeAd.onLoad(function(e) {
                    console.info("ad data loaded: " + JSON.stringify(e)),
                    t._nativeData = e.adList,
                    t.doShowNativeAd()
                }), this._nativeAd.load())
            },
            doShowNativeAd: function() {
                if (null != this._nativeAd) if (null != this._nativeData && this._nativeData.length > 0) {
                    var t = this._nativeData[0],
                    e = t.adId;
                    this.showNativeAd(e),
                    this.showNativeNode(t)
                } else this._nativeAd.load()
            },
            showNativeAd: function(t) {
                null != this._nativeAd && this._nativeAd.reportAdShow({
                    adId: t
                })
            },
            clickNativeAd: function(t) {
                null != this._nativeAd && (this._nativeData.shift(), this._nativeAd.reportAdClick({
                    adId: t
                }))
            },
            showNativeNode: function(t) {
                console.log("showNativeNode"),
                cc.director.getScene().getChildByName("sl_NativeAdNode") || cc.loader.loadRes("nativenode/sl_NativeAdNode",
                function(e, o) {
                    var n = cc.instantiate(o);
                    n.name = "sl_NativeAdNode",
                    n.getComponent("NativeAdMgr").showWithData(t),
                    cc.director.getScene().addChild(n)
                })
            },
            doShock: function(t) {
                window.hbs && (1 == t ? hbs.vibrateShort() : hbs.vibrateLong())
            },
            saveDesktopIcon: function(t) {
                this._saveIconCall = t;
                var e = this;
                qg.installShortcut({
                    message: "\u5c06\u5feb\u6377\u65b9\u5f0f\u6dfb\u52a0\u5230\u684c\u9762\u4e0a\uff0c\u4ee5\u4fbf\u4e0b\u6b21\u4f7f\u7528\u65b9\u4fbf\u3002",
                    success: function() {
                        console.log("handling install success"),
                        e._saveIconCall && e._saveIconCall()
                    },
                    fail: function(t, e) {
                        console.log("handling install fail: " + t + ", errocode: " + e)
                    },
                    complete: function() {
                        console.log("handling install  complete")
                    }
                })
            },
            getIsHaveDesktopIcon: function() {
                return ! 0
            }
        }),
        cc._RF.pop()
    },
    {
        BaseManager: "BaseManager"
    }],
    InitChannel: [function(t, e) {
        "use strict";
        cc._RF.push(e, "565506FQpJD4IWYVy3YBux+", "InitChannel");
        var o = t("MyChannelEnum"),
        n = t("MyGameEnum");
        cc.Class({
            extends: cc.Component,
            properties: {
                MyChannel: {
                default:
                    o.qd_android,
                    type: o
                },
                MyGame: {
                default:
                    n.gm_default,
                    type: n
                }
            },
            onLoad: function() {
                null == cc.adCtl._curChannel && (cc.adCtl._curChannel = this.MyChannel, console.log("current channel ", this.MyChannel), cc.adCtl._curGame = this.MyGame, cc.adCtl._noneAd = cc.adCtl._curChannel == o.qd_noneAd, cc.adCtl.initSdk()),
                cc.adCtl._curChannel == o.qd_mini_vivo && 0 == cc.adCtl._curGame ? cc.thinkLandSwitchNew.initSDK("521a65dcc0de87b82c60fd70d4181e50") : cc.adCtl._curChannel == o.qd_mini_tt && 0 == cc.adCtl._curGame && cc.thinkLandSwitchNew.initSDK("236aeec92f10da8ce1d6c23aa65cc7ee")
            },
            start: function() {}
        }),
        cc._RF.pop()
    },
    {
        MyChannelEnum: "MyChannelEnum",
        MyGameEnum: "MyGameEnum"
    }],
    JumpHitSkill: [function(t, e, o) {
        "use strict";
        cc._RF.push(e, "932e4M0BHVMDp/NxSKjT/2T", "JumpHitSkill"),
        Object.defineProperty(o, "__esModule", {
            value: !0
        });
        var n = t("../data/enemyInfoEnum"),
        i = t("../utils/myConfigManager"),
        a = t("../utils/Emitter"),
        r = t("./CommonSkill"),
        s = t("../utils/GameManager"),
        c = cc._decorator,
        l = c.ccclass,
        d = c.property,
        u = function(t) {
            function e() {
                var e = null !== t && t.apply(this, arguments) || this;
                return e.warningArea = 138,
                e
            }
            return __extends(e, t),
            e.prototype.onLoad = function() {
                this.initSkill(this)
            },
            e.prototype.doSkill = function(t, e) {
                var o = this,
                r = e,
                c = this.node.getPosition(),
                l = r.sub(c),
                d = Math.abs(l.x),
                u = 1 / s.
            default.getInstance()._myEnemyTimeScale,
                h = .002 * d * u;
                return new Promise(function(t) {
                    var e = r.x - o.node.x,
                    s = [cc.v2(o.node.x + .3 * e, 400), cc.v2(o.node.x + .8 * e, 400), r],
                    c = cc.bezierTo(h, s).easing(cc.easeQuinticActionIn());
                    cc.tween(o.node).delay(.2 * h).call(function() {
                        a.
                    default.getInstance().emit("attackWarning", {
                            width: o.warningArea,
                            pos: r
                        })
                    }).start(),
                    o.node.runAction(cc.sequence(cc.delayTime(.5 * u), c, cc.callFunc(function() {
                        var e = i.
                    default.getInstance().getNameBySkillPrefabKind(o.mySkillprafabSkill);
                        a.
                    default.getInstance().emit("launch_Skill", {
                            name: e,
                            startPos: r,
                            toPos: r,
                            maxDis: o.maxTrigger,
                            hit: o.hurtNum,
                            area: o.warningArea,
                            kind: 1
                        }),
                        t(n.soldierSkillKind.none)
                    })))
                })
            },
            __decorate([d({
                tooltip: "\u8b66\u793a\u533a\u57df"
            })], e.prototype, "warningArea", void 0),
            __decorate([l], e)
        } (r.
    default);
        o.
    default = u,
        cc._RF.pop()
    },
    {
        "../data/enemyInfoEnum": "enemyInfoEnum",
        "../utils/Emitter": "Emitter",
        "../utils/GameManager": "GameManager",
        "../utils/myConfigManager": "myConfigManager",
        "./CommonSkill": "CommonSkill"
    }],
    KeyCtl: [function(t, e) {
        "use strict";
        cc._RF.push(e, "8ae9cNIsTlIKrP2I/5+iw0i", "KeyCtl"),
        e.exports = {
            vivo: {
                game0: {
                    appId: "f938b0a05d20473fb0cdc1dc86a91242",
                    inst: "",
                    video: "18eb99acdc964b6c8db3253c7457a427",
                    banner: "",
                    native: "03cd481a91144e27a6355dc904605efa"
                }
            },
            oppo: {
                game0: {
                    appId: "30449507",
                    inst: "",
                    native: "",
                    video: "282345",
                    banner: "",
                    boxAd: "282346"
                }
            },
            shouQ: {
                game0: {
                    appId: "",
                    inst: "",
                    video: "",
                    banner: "",
                    boxAd: ""
                }
            },
            huawei: {
                game0: {
                    appId: "123",
                    native: "s68kh2u621",
                    video: "q2thuvjmtf"
                }
            },
            tt: {
                game0: {
                    appId: "123",
                    inst: "168nimfg8go017dn92",
                    video: "2cp4g78a7kl173hfhc",
                    banner: "ee3510ecm2p3gm5ggi",
                    shareId: "e7hno7mvw0ag53cbi0"
                }
            }
        },
        cc._RF.pop()
    },
    {}],
    LaserSkill: [function(t, e, o) {
        "use strict";
        cc._RF.push(e, "d7b42Op6P1GWbwyXSk8E8ZB", "LaserSkill"),
        Object.defineProperty(o, "__esModule", {
            value: !0
        });
        var n = t("./CommonSkill"),
        i = cc._decorator,
        a = i.ccclass,
        r = i.property,
        s = function(t) {
            function e() {
                var e = null !== t && t.apply(this, arguments) || this;
                return e.laser = null,
                e.laserFxt = null,
                e
            }
            return __extends(e, t),
            e.prototype.onLoad = function() {
                this.initSkill(this),
                this.laser.getComponent("SkillBase").hitHurt = this.hurtNum
            },
            e.prototype.doSkill = function() {
                var t = this;
                return new Promise(function(e) {
                    t.laserFxt.active = !0,
                    t.laserFxt.getComponent(cc.ParticleSystem).resetSystem(),
                    cc.tween(t.laserFxt).delay(.8).call(function() {
                        t.laser.active = !0,
                        t.laser.getComponent(dragonBones.ArmatureDisplay).playAnimation("Sprite", 1)
                    }).delay(1).call(function() {
                        t.laser.active = !1,
                        t.laserFxt.active = !1,
                        e()
                    }).start()
                })
            },
            __decorate([r(cc.Node)], e.prototype, "laser", void 0),
            __decorate([r(cc.Node)], e.prototype, "laserFxt", void 0),
            __decorate([a], e)
        } (n.
    default);
        o.
    default = s,
        cc._RF.pop()
    },
    {
        "./CommonSkill": "CommonSkill"
    }],
    LoadingNode: [function(t, e, o) {
        "use strict";
        cc._RF.push(e, "25bcetrRQ9J1a3jPbEehkzm", "LoadingNode"),
        Object.defineProperty(o, "__esModule", {
            value: !0
        });
        var n = t("../../utils/myConfigManager"),
        i = cc._decorator,
        a = i.ccclass,
        r = i.property,
        s = function(t) {
            function e() {
                var e = null !== t && t.apply(this, arguments) || this;
                return e.showTips = null,
                e.actionRoot = null,
                e.loadingNode = null,
                e.backgroundSp = null,
                e.loadSpriteFrame = [],
                e._times = 0,
                e._oldAction = null,
                e._loadingTips = ["\u4e09\u4ef6\u76f8\u540c\u54c1\u8d28\u7684\u88c5\u5907\u53ef\u4ee5\u5408\u6210\u66f4\u9ad8\u54c1\u8d28\u7684\u88c5\u5907", "\u4e09\u4e2a\u76f8\u540c\u989c\u8272\u3001\u7b49\u7ea7\u7684\u7b26\u6587\u53ef\u4ee5\u5408\u6210\u66f4\u9ad8\u54c1\u8d28\u7684\u7b26\u6587", "\u6bcf\u5929\u90fd\u67093\u6b21\u514d\u8d39\u62bd\u53d6\u7b26\u6587\u548c\u88c5\u5907\u7684\u673a\u4f1a", "\u5408\u7406\u642d\u914d\u5957\u88c5\u53ef\u4ee5\u6e38\u620f\u66f4\u7b80\u5355", "\u6bcf\u4ef6\u88c5\u5907\u90fd\u6709\u968f\u673a\u7684\u5c5e\u6027\u548c\u56fa\u5b9a\u5c5e\u6027", "\u5206\u89e3\u88c5\u5907\u53ef\u4ee5\u8fd4\u8fd8\u90e8\u5206\u5f3a\u5316\u7684\u6d88\u8017", "\u5408\u7406\u9009\u62e9\u6280\u80fd\u53ef\u4ee5\u8ba9\u6e38\u620f\u53d8\u5f97\u66f4\u5bb9\u6613", "\u5957\u88c5\u8bcd\u6761\u662f\u968f\u673a\u51fa\u73b0\u5728\u88c5\u5907\u4e0a\u7684", "\u4e0d\u540c\u54c1\u8d28\u7684\u4e0d\u540c\u90e8\u4f4d\u88c5\u5907\u4e5f\u53ef\u4ee5\u6fc0\u6d3b\u5957\u88c5\u5c5e\u6027"],
                e
            }
            return __extends(e, t),
            e.prototype.onEnable = function() {
                this.loadAction(),
                this.loadMyPrefab(),
                this.loadMyScene(),
                this.showTips.string = this._loadingTips[Math.floor(Math.random() * this._loadingTips.length)],
                this.backgroundSp.spriteFrame = this.loadSpriteFrame[Math.floor(Math.random() * this.loadSpriteFrame.length)]
            },
            e.prototype.loadAction = function() {
                this.actionRoot.children.forEach(function(t, e) {
                    cc.tween(t).delay(.2 * e).by(.2, {
                        y: 50
                    }).by(.2, {
                        y: -50
                    }).delay(2 - .2 * e).union().repeatForever().start()
                })
            },
            e.prototype.loadMyPrefab = function() {
                var t = this;
                cc.loader.loadResDir("enemyPrefabs/common",
                function(e) {
                    e ? console.log(e) : t.doComplete()
                }),
                cc.loader.loadResDir("skillPrefabs",
                function(e) {
                    e ? console.log(e) : t.doComplete()
                })
            },
            e.prototype.loadMyScene = function() {
                var t = this;
                n.
            default.getInstance().loadFullProperty().then(function() {
                    cc.director.preloadScene("GameScene",
                    function() {
                        t.doComplete()
                    })
                })
            },
            e.prototype.doComplete = function() {
                var t = this;
                this._times++,
                this._oldAction && this._oldAction.stop(),
                this._oldAction = cc.tween(this.loadingNode).to(1, {
                    progress: this._times / 3
                }).call(function() {
                    3 == t._times && t.scheduleOnce(function() {
                        cc.director.loadScene("GameScene")
                    },
                    1)
                }),
                this._oldAction.start()
            },
            __decorate([r(cc.Label)], e.prototype, "showTips", void 0),
            __decorate([r(cc.Node)], e.prototype, "actionRoot", void 0),
            __decorate([r(cc.ProgressBar)], e.prototype, "loadingNode", void 0),
            __decorate([r(cc.Sprite)], e.prototype, "backgroundSp", void 0),
            __decorate([r([cc.SpriteFrame])], e.prototype, "loadSpriteFrame", void 0),
            __decorate([a], e)
        } (cc.Component);
        o.
    default = s,
        cc._RF.pop()
    },
    {
        "../../utils/myConfigManager": "myConfigManager"
    }],
    LoginAward: [function(t, e, o) {
        "use strict";
        cc._RF.push(e, "dd7d0LBikBKd7LE1h5muVPD", "LoginAward"),
        Object.defineProperty(o, "__esModule", {
            value: !0
        });
        var n = t("../../utils/wyxTools"),
        i = t("../../utils/GameManager"),
        a = t("../../data/shopConfig"),
        r = t("../../utils/AudioMgr"),
        s = cc._decorator,
        c = s.ccclass,
        l = s.property,
        d = function(t) {
            function e() {
                var e = null !== t && t.apply(this, arguments) || this;
                return e.rootNode = null,
                e.btnNode = null,
                e.doubleNode = null,
                e
            }
            return __extends(e, t),
            e.prototype.onLoad = function() {
                this.initView()
            },
            e.prototype.initView = function() {
                var t = n.
            default.getIntData("end_LoginAwardCount");
                this.rootNode.children.forEach(function(e, o) {
                    e.getChildByName("dui").active = o < t
                });
                var e = n.
            default.getIntData("end_LoginAwardDy"),
                o = (new Date).getDate();
                this.btnNode.active = e != o,
                this.doubleNode.active = e != o
            },
            e.prototype.closeNodeBtn = function() {
                r.
            default.getInstance().playButton(),
                this.node.getComponent("windowOpenEffect").closePanel()
            },
            e.prototype.getBtnCall = function() {
                var t = n.
            default.getIntData("end_LoginAwardCount") + 1;
                this.getAward(t),
                t >= 7 && (t = 0),
                n.
            default.setData("end_LoginAwardCount", t);
                var e = (new Date).getDate();
                n.
            default.setData("end_LoginAwardDy", e),
                this.initView()
            },
            e.prototype.doubleBtnCall = function() {
                var t = n.
            default.getIntData("end_LoginAwardCount") + 1,
                e = this;
                cc.adCtl.showVideo(function(o) {
                    if (1 == o) {
                        e.getAward(t, 2),
                        t >= 7 && (t = 0),
                        n.
                    default.setData("end_LoginAwardCount", t);
                        var i = (new Date).getDate();
                        n.
                    default.setData("end_LoginAwardDy", i),
                        e.initView()
                    }
                }),
                cc.adCtl.umengEvent("LoginAward")
            },
            e.prototype.getAward = function(t, e) {
                void 0 === e && (e = 1);
                var o = [];
                switch (t) {
                case 1:
                    o.push({
                        awardId:
                        a.myAwardEnum.gold,
                        num: 1e3 * e
                    });
                    break;
                case 2:
                    o.push({
                        awardId:
                        a.myAwardEnum.goldKey,
                        num: 1 * e
                    });
                    break;
                case 3:
                    o.push({
                        awardId:
                        a.myAwardEnum.stone,
                        num: 50 * e
                    });
                    break;
                case 4:
                    o.push({
                        awardId:
                        a.myAwardEnum.gold,
                        num: 2e3 * e
                    });
                    break;
                case 5:
                    o.push({
                        awardId:
                        a.myAwardEnum.stone,
                        num: 100 * e
                    });
                    break;
                case 6:
                    o.push({
                        awardId:
                        a.myAwardEnum.gold,
                        num: 5e3 * e
                    });
                    break;
                case 7:
                    o.push({
                        awardId:
                        a.myAwardEnum.goldKey,
                        num: 3 * e
                    })
                }
                i.
            default.getInstance().getAwardsByKind(o, !0)
            },
            __decorate([l(cc.Node)], e.prototype, "rootNode", void 0),
            __decorate([l(cc.Node)], e.prototype, "btnNode", void 0),
            __decorate([l(cc.Node)], e.prototype, "doubleNode", void 0),
            __decorate([c], e)
        } (cc.Component);
        o.
    default = d,
        cc._RF.pop()
    },
    {
        "../../data/shopConfig": "shopConfig",
        "../../utils/AudioMgr": "AudioMgr",
        "../../utils/GameManager": "GameManager",
        "../../utils/wyxTools": "wyxTools"
    }],
    LotteryNode: [function(t, e, o) {
        "use strict";
        cc._RF.push(e, "ffc27UswbJNtomog3w10ooe", "LotteryNode"),
        Object.defineProperty(o, "__esModule", {
            value: !0
        });
        var n = t("../../control/ResManager"),
        i = t("../../data/shopConfig"),
        a = t("../../utils/AudioMgr"),
        r = t("../../utils/Emitter"),
        s = t("../../utils/GameManager"),
        c = t("../../utils/myConfigManager"),
        l = cc._decorator,
        d = l.ccclass,
        u = l.property,
        h = function(t) {
            function e() {
                var e = null !== t && t.apply(this, arguments) || this;
                return e.wheelNode = null,
                e.arrowNode = null,
                e.priceRichText = null,
                e.timesNodeRoot = null,
                e.btnRoot = null,
                e.timesLabel = null,
                e.flgShaderMtl = null,
                e.awardFrame = [],
                e._curAngle = 0,
                e._curAward = null,
                e._isTurning = !1,
                e._isFree = !1,
                e._tempItemNode = null,
                e._curAwardInfoList = [],
                e._curPosKind = 1,
                e._callBackObj = null,
                e._callbackFunc = null,
                e
            }
            return __extends(e, t),
            e.prototype.onLoad = function() {
                a.
            default.getInstance().playSFX("openLottery"),
                this.initAwardInfo(),
                this._tempItemNode = this.wheelNode.children[0],
                this._tempItemNode.parent = null,
                this.upBtnState(),
                this.randAwardInfo(),
                2 != this._curPosKind && 3 != this._curPosKind || r.
            default.getInstance().on("lotteryRemove", this.doCloseCallBtnCall, this)
            },
            e.prototype.onDestroy = function() {
                r.
            default.getInstance().off("lotteryRemove", this)
            },
            e.prototype.initAwardInfo = function() {
                1 == this._curPosKind ? cc.sys.localStorage.getItem("Lottery_day") != (new Date).getDate() && (this._isFree = !0) : 2 == this._curPosKind ? this._isFree = !0 : 3 == this._curPosKind && (this._isFree = !1)
            },
            e.prototype.setKind = function(t) {
                this._curPosKind = t
            },
            e.prototype.setCallBack = function(t, e) {
                this._callBackObj = t,
                this._callbackFunc = e
            },
            e.prototype.upBtnState = function() {
                this._isFree ? (cc.find("com_btn2/root/video_icon", this.btnRoot).active = !1, this.btnRoot.children[0].active = 2 != this._curPosKind) : (this.priceRichText.string = "<img src='icon_coin' /><color=#ffffff>100</color>", cc.find("com_btn2/root/video_icon", this.btnRoot).active = !0, this.btnRoot.children[0].active = 3 != this._curPosKind)
            },
            e.prototype.doLotteryBtnCall = function() {
                this._isTurning || (a.
            default.getInstance().playButton(), s.
            default.getInstance().expendStone(100) ? this.getAward() : s.
            default.getInstance().showToast("\u94bb\u77f3\u4e0d\u8db3"), this.upBtnState(), 2 != this._curPosKind && 3 != this._curPosKind || (this.btnRoot.active = !1))
            },
            e.prototype.doVideoLotteryBtn = function() {
                if (!this._isTurning) {
                    if (a.
                default.getInstance().playButton(), this._isFree) {
                        if (1 == this._curPosKind) {
                            var t = (new Date).getDate();
                            cc.sys.localStorage.setItem("Lottery_day", t)
                        }
                        this._isFree = !1,
                        this.getAward()
                    } else {
                        var e = this;
                        cc.adCtl.showVideo(function(t) {
                            1 == t && e.getAward()
                        }),
                        1 == this._curPosKind ? cc.adCtl.umengEvent("home_lottery") : 2 != this._curPosKind && 3 != this._curPosKind || cc.adCtl.umengEvent("war_lottery")
                    }
                    this.upBtnState(),
                    2 != this._curPosKind && 3 != this._curPosKind || (this.btnRoot.active = !1)
                }
            },
            e.prototype.doCloseCallBtnCall = function() {
                a.
            default.getInstance().playButton(),
                r.
            default.getInstance().off("lotteryRemove", this),
                this._callbackFunc && (this._callBackObj ? this._callbackFunc.call(this._callBackObj) : this._callbackFunc()),
                this.node.getComponent("windowOpenEffect").closePanel()
            },
            e.prototype.doRefreshUI = function() {
                a.
            default.getInstance().playButton(),
                this._isTurning || this.randAwardInfo()
            },
            e.prototype.getAward = function() {
                var t = this,
                e = 0;
                this._curAwardInfoList.forEach(function(t) {
                    e += t.weight
                });
                var o = 0,
                n = Math.random() * e;
                this._curAward = this._curAwardInfoList[o];
                for (var r = 0; r < this._curAwardInfoList.length; r++) {
                    var c = this._curAwardInfoList[r];
                    if ((n -= c.weight) <= 0) {
                        this._curAward = c,
                        o = r;
                        break
                    }
                }
                this._isTurning = !0,
                this._curAngle = 45 * o + 45 * Math.random() + 1080 + this.wheelNode.angle - this.wheelNode.angle % 360;
                var l = this.arrowNode.children[0];
                a.
            default.getInstance().playSFX("lottery"),
                l.active = !0,
                cc.tween(this.wheelNode).to(2, {
                    angle: this._curAngle
                },
                {
                    easing: "cubicInOut"
                }).call(function() {
                    t._isTurning = !1,
                    l.active = !1,
                    t._curAward.awardId >= i.myAwardEnum.weapon && t._curAward.awardId <= i.myAwardEnum.accessories ? (s.
                default.getInstance().getAwardsByKind({
                        awardId:
                        t._curAward.awardId,
                        num: t._curAward.num,
                        data: t._curAward.dataInfo
                    },
                    !1), s.
                default.getInstance().getMyPrefab("viewPrefabs/openBoxEffect").then(function(e) {
                        var o = cc.instantiate(e);
                        o.getComponent("openBoxEffect").setOnlyShow(),
                        o.getComponent("openBoxEffect").setAwardKind(i.myAwardEnum.weapon, t._curAward.dataInfo),
                        cc.find("Canvas").addChild(o)
                    })) : s.
                default.getInstance().getAwardsByKind({
                        awardId:
                        t._curAward.awardId,
                        num: t._curAward.num
                    })
                }).start(),
                cc.tween(this.arrowNode).repeat(4, cc.sequence(cc.rotateTo(.25, 5), cc.rotateTo(.25, 0))).start()
            },
            e.prototype.randAwardInfo = function() {
                var t = this._curPosKind;
                this._curAwardInfoList = [];
                var e = 0;
                i.lotteryInfo2.forEach(function(o) {
                    e += o["showWeight" + t]
                });
                for (var o = __spreadArrays(i.lotteryInfo2), n = 0; n < 8; n++) for (var a = Math.random() * e, r = 0; r < o.length; r++) {
                    var s = o[r],
                    l = s["showWeight" + t];
                    if (0 != l && (a -= l) < 0) {
                        if (s.awardId < 0) {
                            var d = Math.abs(s.awardId),
                            u = c.
                        default.getInstance().getWeaponByKind(null, d, null);
                            s.awardId = u.kind,
                            s.dataInfo = u
                        }
                        this._curAwardInfoList.push(s),
                        o.splice(r, 1),
                        e -= l;
                        break
                    }
                }
                this.refreshAwardView()
            },
            e.prototype.refreshAwardView = function() {
                var t = this;
                this.wheelNode.removeAllChildren(),
                this._curAwardInfoList.forEach(function(e, o) {
                    var a = cc.instantiate(t._tempItemNode);
                    a.active = !0;
                    var r = c.
                default.getInstance().getNameByAwardKind(e.awardId),
                    s = 60,
                    l = a.getChildByName("frame"),
                    d = a.getChildByName("effect"),
                    u = a.getChildByName("icon");
                    if (l.active = !1, d.active = !1, e.awardId >= i.myAwardEnum.weapon && e.awardId <= i.myAwardEnum.accessories) {
                        l.active = !0,
                        d.active = !0;
                        var h = cc.instantiate(l);
                        h.getComponent(cc.Sprite).dstBlendFactor = cc.macro.BlendFactor.ONE,
                        l.addChild(h),
                        cc.tween(h).repeatForever(cc.sequence(cc.fadeOut(1), cc.fadeIn(2))).start(),
                        l.getComponent(cc.Sprite).spriteFrame = t.awardFrame[e.dataInfo.quality - 1],
                        r += e.dataInfo.index,
                        s = 70,
                        u.getComponent(cc.RenderComponent).setMaterial(0, t.flgShaderMtl)
                    } else u.getComponent(cc.RenderComponent).setMaterial(0, cc.Material.getBuiltinMaterial("2d-sprite"));
                    var p = s / n.
                default._instance.DropAward.getSpriteFrame(r).getRect().width;
                    a.getComponentInChildren(cc.Label).string = "x" + e.num,
                    u.scale = p,
                    u.getComponent(cc.Sprite).spriteFrame = n.
                default._instance.DropAward.getSpriteFrame(r),
                    a.angle = -45 * o + 22.5 - 45;
                    var f = .01745 * -(45 * o + 22.5 - 90);
                    a.x = 190 * Math.cos(f),
                    a.y = 190 * Math.sin(f),
                    t.wheelNode.addChild(a)
                }),
                this._tempItemNode
            },
            __decorate([u(cc.Node)], e.prototype, "wheelNode", void 0),
            __decorate([u(cc.Node)], e.prototype, "arrowNode", void 0),
            __decorate([u(cc.RichText)], e.prototype, "priceRichText", void 0),
            __decorate([u(cc.Node)], e.prototype, "timesNodeRoot", void 0),
            __decorate([u(cc.Node)], e.prototype, "btnRoot", void 0),
            __decorate([u(cc.Label)], e.prototype, "timesLabel", void 0),
            __decorate([u(cc.Material)], e.prototype, "flgShaderMtl", void 0),
            __decorate([u([cc.SpriteFrame])], e.prototype, "awardFrame", void 0),
            __decorate([d], e)
        } (cc.Component);
        o.
    default = h,
        cc._RF.pop()
    },
    {
        "../../control/ResManager": "ResManager",
        "../../data/shopConfig": "shopConfig",
        "../../utils/AudioMgr": "AudioMgr",
        "../../utils/Emitter": "Emitter",
        "../../utils/GameManager": "GameManager",
        "../../utils/myConfigManager": "myConfigManager"
    }],
    MeizuAdManager: [function(t, e) {
        "use strict";
        cc._RF.push(e, "26a0d+BXJFHFrmy84FMV22F", "MeizuAdManager");
        var o = t("BaseManager");
        cc.Class({
            extends: o,
            ctor: function() {
                this.videoAdCtrl = null,
                this.videoAdCall = null,
                this.appId_adUnitId = "",
                this.video_adUnitId = "",
                this.inst_adUnitId = "",
                this.banner_adUnitId = ""
            },
            initSDK: function() {
                if (this.myAdChannel = "meizu", window.qg) {
                    var t = cc.adCtl.getAdInfo("meizu");
                    t && (this.appId_adUnitId = t.appId, this.inst_adUnitId = t.inst, this.video_adUnitId = t.video, this.banner_adUnitId = t.banner, this.initMyVideoAds())
                }
            },
            showToast: function(t) {
                window.qg && mz.showToast({
                    duration: 0,
                    message: t
                })
            },
            initMyVideoAds: function() {
                if (window.qg) {
                    var t = this;
                    this.videoAdCtrl = qg.createRewardedVideoAd({
                        adUnitId: this.video_adUnitId
                    }),
                    this.videoAdCtrl.onError(function(t) {
                        console.log("\u5e7f\u544a\u52a0\u8f7d\u51fa\u9519 " + JSON.stringify(t))
                    }),
                    this.videoAdCtrl.onLoad(function() {
                        console.log("\u52a0\u8f7d\u4e8b\u4ef6\u56de\u8c03"),
                        t.videoAdCtrl.show()
                    }),
                    this.videoAdCtrl.onClose(function() {
                        setTimeout(function() {
                            t.videoAdCall(1)
                        },
                        500)
                    }),
                    this.interstitialAd = qg.createInterstitialAd({
                        adUnitId: this.inst_adUnitId
                    }),
                    this.interstitialAd.onLoad(function() {
                        t.interstitialAd.show()
                    }),
                    this.interstitialAd.onError(function(t) {
                        console.log("\u63d2\u5c4f\u5e7f\u544a\u52a0\u8f7d\u51fa\u9519 " + JSON.stringify(t))
                    })
                }
            },
            showVideo: function(t) {
                if (console.log("xiaomi ShowVideoAds \u4e8b\u4ef6\u56de\u8c03"), this.videoAdCall = t, window.qg) {
                    if (null == this.videoAdCtrl) return void this.videoAdCall(1);
                    this.videoAdCtrl.load()
                } else console.log("mycb\u4e8b\u4ef6\u56de\u8c03"),
                cc.sys.platform == cc.sys.DESKTOP_BROWSER && this.videoAdCall(1)
            },
            showInst: function() {
                window.qg && this.interstitialAd && this.interstitialAd.load()
            },
            showBanner: function() {
                if (window.qg) {
                    var t = qg.getSystemInfoSync().screenHeight,
                    e = qg.getSystemInfoSync().screenWidth,
                    o = this;
                    this.bannerAd && this.bannerAd.destroy(),
                    this.bannerAd = qg.createBannerAd({
                        adUnitId: this.banner_adUnitId,
                        style: {
                            left: 0,
                            top: t - e / 6.7,
                            width: e,
                            height: e / 6.7
                        }
                    }),
                    this.bannerAd.onLoad(function() {
                        console.log("banner \u5e7f\u544a\u52a0\u8f7d\u6210\u529f"),
                        o.bannerAd.show()
                    }),
                    this.bannerAd.onResize(function(t) {
                        console.log("Banner \u5c3a\u5bf8\u6539\u53d8");
                        var e = qg.getSystemInfoSync().screenHeight;
                        o.bannerAd.style.top = e - t.height,
                        o.bannerAd.style.left = 0,
                        o.bannerAd.style.width = t.width,
                        o.bannerAd.style.height = t.height
                    })
                }
            },
            hideBanner: function() {
                this.bannerAd && (this.bannerAd.hide(), this.bannerAd.destroy(), this.bannerAd = null)
            }
        }),
        cc._RF.pop()
    },
    {
        BaseManager: "BaseManager"
    }],
    MoveSkill: [function(t, e, o) {
        "use strict";
        cc._RF.push(e, "ff133AfyBdAK6Lj21ha35Md", "MoveSkill"),
        Object.defineProperty(o, "__esModule", {
            value: !0
        });
        var n = t("../utils/Emitter"),
        i = t("../utils/GameManager"),
        a = t("../utils/myConfigManager"),
        r = t("./CommonSkill"),
        s = cc._decorator,
        c = s.ccclass,
        l = (s.property,
        function(t) {
            function e() {
                return null !== t && t.apply(this, arguments) || this
            }
            return __extends(e, t),
            e.prototype.onLoad = function() {
                this.initSkill(this)
            },
            e.prototype.doSkill = function(t, e) {
                var o = this;
                return new Promise(function(t) {
                    var r = a.
                default.getInstance().getNameBySkillPrefabKind(o.mySkillprafabSkill);
                    if ("" != r) for (var s = o.node.getPosition().clone(), c = 0; c < 3; c++) n.
                default.getInstance().emit("launch_Skill", {
                        name: r,
                        startPos: cc.v2(s.x, s.y + 50),
                        toPos: cc.v2(s.x + -100 + 100 * c, s.y),
                        maxDis: o.maxTrigger,
                        hit: o.hurtNum,
                        kind: 1
                    });
                    o.node.getComponent(cc.BoxCollider).enabled = !1;
                    var l = o.node.x,
                    d = l - e.x > 0 ? 500 : -500; (l += d) < -1e3 && (l = -200),
                    l > 1e3 && (l = 200);
                    var u = cc.v2(l, e.y);
                    o._isFly && 100 * Math.random() < 30 && (u.y += 200);
                    var h = o.node,
                    p = function(t) {
                        var e = cc.instantiate(o.node.getChildByName("spine"));
                        e.x = t * d * .2 * -1,
                        e.y = 0,
                        e.opacity = 100,
                        h.addChild(e),
                        cc.tween(e).to(.4 / i.
                    default.getInstance()._myEnemyTimeScale, {
                            x: 0
                        },
                        {
                            easing: "cubicIn"
                        }).call(function() {
                            e.removeFromParent(),
                            e.destroy()
                        }).start()
                    };
                    for (c = 0; c < 3; c++) p(c);
                    cc.tween(o.node).to(.4 / i.
                default.getInstance()._myEnemyTimeScale, {
                        position: u
                    }).call(function() {
                        o.node.getComponent(cc.BoxCollider).enabled = !0,
                        t(null)
                    }).start()
                })
            },
            __decorate([c], e)
        } (r.
    default));
        o.
    default = l,
        cc._RF.pop()
    },
    {
        "../utils/Emitter": "Emitter",
        "../utils/GameManager": "GameManager",
        "../utils/myConfigManager": "myConfigManager",
        "./CommonSkill": "CommonSkill"
    }],
    MyAdCtl: [function(t, e) {
        "use strict";
        cc._RF.push(e, "d139eeqjoFAYLCINNOT5/+H", "MyAdCtl");
        var o = t("MyChannelEnum"),
        n = t("KeyCtl"),
        i = cc.Class({
            name: "MyAdCtl",
            properties: {},
            ctor: function() {
                this._curChannel = null,
                this._curGame = null,
                this._adMgr = null,
                this._isShare = !1,
                this._bannerDelay = 0,
                this._nativeDelay = 0,
                this._whiteState = !0,
                this._odds = null,
                this._timespan = null
            },
            initSdk: function() {
                try {
                    var e = null;
                    this._curChannel == o.qd_mini_tt && window.tt ? e = t("TTAdManager") : this._curChannel == o.qd_mini_huawei && window.hbs ? e = t("HuaweiAdManager") : this._curChannel == o.qd_mini_shouq && window.qq ? e = t("QQAdManager") : this._curChannel == o.qd_mini_4399 && window.h5api ? e = t("4399AdManager") : this._curChannel == o.qd_mini_baidu && window.swan ? e = t("BaiduAdManager") : this._curChannel == o.qd_mini_oppo && window.qg ? e = t("OppoAdManager") : this._curChannel == o.qd_mini_vivo && window.qg ? e = t("VivoAdManager") : this._curChannel == o.qd_mini_uc && window.uc ? e = t("UCAdManager") : this._curChannel == o.qd_mini_wechat && window.wx ? e = t("WXAdManager") : this._curChannel == o.qd_mini_xiaomi && window.qg ? e = t("XiaomiAdManager") : this._curChannel == o.qd_android && cc.sys.os == cc.sys.OS_ANDROID ? e = t("androidManager") : this._curChannel == o.qd_ios && cc.sys.os == cc.sys.OS_IOS && (e = t("androidManager")),
                    e ? (this._adMgr = new e, this._adMgr.initSDK()) : console.error("\u672a\u914d\u7f6e\u6e20\u9053sdk", o[this._curChannel], "\u6216\u672a\u5728\u5bf9\u5e94\u5e73\u53f0\u8fd0\u884c")
                } catch(n) {
                    console.log(n)
                }
            },
            getAdInfo: function(t) {
                return n[t] ? n[t]["game" + this._curGame] : (console.error("no ad info " + t), null)
            },
            testChannel: function(t) {
                return this._curChannel == t
            },
            testM4399T: function() {
                var t = !0;
                if (cc.adCtl._curChannel == o.qd_mini_4399) {
                    cc.sys.localStorage.getItem("hc_4399_day") != (new Date).getDate() && (cc.sys.localStorage.setItem("hc_4399_day", (new Date).getDate()), cc.sys.localStorage.setItem("hc_4399_count", 10));
                    var e = cc.sys.localStorage.getItem("hc_4399_count"),
                    n = !1;
                    window.h5api && (n = window.h5api.canPlayAd()),
                    t = n && e > 0
                }
                return t
            },
            showVideo: function(t) {
                cc.adCtl._noneAd ? t(1) : this._adMgr ? this._adMgr.showVideo(t) : cc.sys.platform == cc.sys.DESKTOP_BROWSER && (console.log("---showVideo"), t(1))
            },
            showInst: function() {
                this._adMgr && this._adMgr.showInst()
            },
            showNative: function() {
                var t = cc.thinkLandSwitchNew ? cc.thinkLandSwitchNew.getInstDelay() : 30;
                if (100 * Math.random() < t) {
                    var e = Math.floor((new Date).getTime() / 1e3);
                    if (this._nativeDelay > e) return;
                    this._nativeDelay = e + 10,
                    this._adMgr && this._adMgr.showNative()
                }
            },
            showBanner: function() {
                var t = Math.floor((new Date).getTime() / 1e3);
                this._bannerDelay > t || (this._bannerDelay = t, this._adMgr && this._adMgr.showBanner())
            },
            hideBanner: function() {
                var t = Math.floor((new Date).getTime() / 1e3) + 10;
                this._bannerDelay = t,
                this._adMgr && this._adMgr.hideBanner()
            },
            startRecord: function() {
                this._adMgr && this._adMgr.startRecord()
            },
            selfClipVideo: function() {
                this._adMgr && this._adMgr.selfClipVideo()
            },
            endRecord: function(t) {
                this._adMgr ? this._adMgr.endRecord(t) : cc.sys.platform == cc.sys.DESKTOP_BROWSER && (console.log("---endRecord"), t && t(1))
            },
            shareRecord: function(t) {
                this._adMgr ? this._adMgr.shareRecord(t) : cc.sys.platform == cc.sys.DESKTOP_BROWSER && (console.log("---shareRecord"), t(1))
            },
            shareGame: function(t) {
                this._adMgr ? this._adMgr.shareGame(t) : cc.sys.platform == cc.sys.DESKTOP_BROWSER && (console.log("---shareGame"), t && t())
            },
            moreGame: function() {
                this._adMgr && this._adMgr.moreGame()
            },
            setMoreBtnState: function(t) {
                this._adMgr && this._adMgr.setMoreBtnState(t)
            },
            doShock: function(t) {
                this._adMgr && this._adMgr.doShock(t)
            },
            getNativeAdData: function() {
                if (this._adMgr) return this._adMgr.getNativeAdData()
            },
            nativeAdEvent: function(t, e) {
                this._adMgr && this._adMgr.nativeAdEvent(t, e)
            },
            saveDesktopIcon: function(t) {
                this._adMgr && this._adMgr.saveDesktopIcon(t)
            },
            showMyToast: function(t) {
                var e = new cc.Node;
                cc.find("Canvas").addChild(e),
                e.addComponent(cc.Label).string = t,
                cc.tween(e).by(1, {
                    y: 50
                }).removeSelf().start()
            },
            umengEvent: function(t, e) {
                void 0 === e && (e = ""),
                this._adMgr && this._curChannel == o.qd_ios && this._adMgr.umengEvent(t, e)
            },
            commentEvent: function() {
                this._adMgr && this._curChannel == o.qd_ios && this._adMgr.umengEvent(id, data)
            },
            getIsHaveDesktopIcon: function() {
                return !! this._adMgr && this._adMgr.getIsHaveDesktopIcon()
            }
        });
        cc.adCtl = new i,
        e.exports = cc.adCtl,
        cc._RF.pop()
    },
    {
        "4399AdManager": "4399AdManager",
        BaiduAdManager: "BaiduAdManager",
        HuaweiAdManager: "HuaweiAdManager",
        KeyCtl: "KeyCtl",
        MyChannelEnum: "MyChannelEnum",
        OppoAdManager: "OppoAdManager",
        QQAdManager: "QQAdManager",
        TTAdManager: "TTAdManager",
        UCAdManager: "UCAdManager",
        VivoAdManager: "VivoAdManager",
        WXAdManager: "WXAdManager",
        XiaomiAdManager: "XiaomiAdManager",
        androidManager: "androidManager"
    }],
    MyCameraCtl: [function(t, e, o) {
        "use strict";
        cc._RF.push(e, "d6981Q7AXdEZq64W9H/VvdF", "MyCameraCtl"),
        Object.defineProperty(o, "__esModule", {
            value: !0
        });
        var n = t("../utils/Emitter"),
        i = t("../utils/myConfigManager"),
        a = cc._decorator,
        r = a.ccclass,
        s = a.property,
        c = function(t) {
            function e() {
                var e = null !== t && t.apply(this, arguments) || this;
                return e.ActorNode = null,
                e._curWatchTarget = null,
                e
            }
            return __extends(e, t),
            e.prototype.onLoad = function() {
                this._curWatchTarget = this.ActorNode
            },
            e.prototype.changeWatchTarget = function(t) {
                this._curWatchTarget = null == t ? this.ActorNode: t
            },
            e.prototype.lateUpdate = function() {
                if (null != this._curWatchTarget) {
                    var t = cc.misc.lerp(this.node.x, this._curWatchTarget.x, .05),
                    e = .5 * cc.winSize.width;
                    i.
                default.getInstance()._screenMinX + e < t && i.
                default.getInstance()._screenMaxX - e > t && (this.node.x = t, n.
                default.getInstance().emit("move_bg", {
                        speed: t
                    }))
                }
            },
            __decorate([s(cc.Node)], e.prototype, "ActorNode", void 0),
            __decorate([r], e)
        } (cc.Component);
        o.
    default = c,
        cc._RF.pop()
    },
    {
        "../utils/Emitter": "Emitter",
        "../utils/myConfigManager": "myConfigManager"
    }],
    MyChannelEnum: [function(t, e) {
        "use strict";
        cc._RF.push(e, "725f0wDmVFDA4rgZ9BmYJ78", "MyChannelEnum");
        var o = cc.Enum({
            qd_android: 0,
            qd_mini_tt: 1,
            qd_mini_oppo: 2,
            qd_mini_vivo: 3,
            qd_mini_shouq: 4,
            qd_mini_4399: 5,
            qd_mini_wechat: 6,
            qd_mini_xiaomi: 7,
            qd_mini_baidu: 8,
            qd_mini_uc: 9,
            qd_mini_huawei: 10,
            qd_ios: 11,
            qd_noneAd: 100
        });
        e.exports = o,
        cc._RF.pop()
    },
    {}],
    MyColorEffect: [function(t, e, o) {
        "use strict";
        cc._RF.push(e, "41baeXmUzFOsqyh9okv3EEM", "MyColorEffect"),
        Object.defineProperty(o, "__esModule", {
            value: !0
        });
        var n = cc._decorator,
        i = n.ccclass,
        a = n.property,
        r = n.executeInEditMode,
        s = n.requireComponent,
        c = n.menu,
        l = function(t) {
            function e() {
                var e = null !== t && t.apply(this, arguments) || this;
                return e._colors = [],
                e
            }
            return __extends(e, t),
            Object.defineProperty(e.prototype, "colors", {
                get: function() {
                    return this._colors
                },
                set: function(t) {
                    this._colors = t,
                    this._updateColors()
                },
                enumerable: !1,
                configurable: !0
            }),
            e.prototype.onEnable = function() {
                cc.director.once(cc.Director.EVENT_AFTER_DRAW, this._updateColors, this)
            },
            e.prototype.onDisable = function() {
                cc.director.off(cc.Director.EVENT_AFTER_DRAW, this._updateColors, this),
                this.node._renderFlag |= cc.RenderFlow.FLAG_COLOR
            },
            e.prototype._updateColors = function() {
                var t = this.getComponent(cc.RenderComponent);
                if (t) {
                    var e = t._assembler;
                    if (e instanceof cc.Assembler2D) {
                        var o = e._renderData.uintVDatas[0];
                        if (o) for (var n = this.node.color,
                        i = e.floatsPerVert,
                        a = 0,
                        r = e.colorOffset,
                        s = o.length; r < s; r += i) o[r] = (this.colors[a++] || n)._val
                    }
                }
            },
            __decorate([a], e.prototype, "_colors", void 0),
            __decorate([a({
                type: [cc.Color]
            })], e.prototype, "colors", null),
            __decorate([i, r, s(cc.RenderComponent), c("i18n:MAIN_MENU.component.renderers/ColorAssembler2D-lamyoung.com")], e)
        } (cc.Component);
        o.
    default = l,
        cc._RF.pop()
    },
    {}],
    MyGameEnum: [function(t, e) {
        "use strict";
        cc._RF.push(e, "07bb52Klk5K6ZJ7qtTRyfN3", "MyGameEnum");
        var o = cc.Enum({
            gm_default: 0
        });
        e.exports = o,
        cc._RF.pop()
    },
    {}],
    MysteryKeyBtn: [function(t, e, o) {
        "use strict";
        cc._RF.push(e, "eab15L0ZXxAZZm8v7DER7d+", "MysteryKeyBtn"),
        Object.defineProperty(o, "__esModule", {
            value: !0
        });
        var n = t("../../utils/PopWinManager"),
        i = t("../../utils/wyxTools"),
        a = cc._decorator,
        r = a.ccclass,
        s = a.property,
        c = function(t) {
            function e() {
                var e = null !== t && t.apply(this, arguments) || this;
                return e.curBtn = null,
                e.preNode = null,
                e._flyOnce = !1,
                e
            }
            return __extends(e, t),
            e.prototype.onLoad = function() {
                1 == i.
            default.getIntData("end_is_can_showMysteryKey") ? (i.
            default.remmoveData("end_MysteryKey_time"), cc.adCtl.testChannel(5) ? this.curBtn.active = !1 : this.loadView()) : this.curBtn.active = !1
            },
            e.prototype.start = function() {},
            e.prototype.clickBtn = function() {
                this.loadView()
            },
            e.prototype.loadView = function() {
                var t = cc.instantiate(this.preNode);
                t.getComponent("MysteryKeyNode").setRootBtn(this),
                n.
            default.getInstance().setWinInfo("MysteryKeyNode", t, cc.find("Canvas")),
                this.curBtn.active = !1
            },
            e.prototype.downtimeCall = function() {
                i.
            default.remmoveData("end_is_can_showMysteryKey"),
                this.curBtn.active = !1
            },
            e.prototype.showBtn = function() {
                if (!this._flyOnce) {
                    this._flyOnce = !0;
                    var t = this.curBtn.convertToNodeSpaceAR(cc.v2(.5 * cc.winSize.width, .8 * cc.winSize.height));
                    this.curBtn.setPosition(t),
                    cc.tween(this.curBtn).to(.5, {
                        position: cc.v3(0, 0, 0)
                    }).start()
                }
                this.curBtn.active = !0
            },
            __decorate([s(cc.Node)], e.prototype, "curBtn", void 0),
            __decorate([s(cc.Prefab)], e.prototype, "preNode", void 0),
            __decorate([r], e)
        } (cc.Component);
        o.
    default = c,
        cc._RF.pop()
    },
    {
        "../../utils/PopWinManager": "PopWinManager",
        "../../utils/wyxTools": "wyxTools"
    }],
    MysteryKeyNode: [function(t, e, o) {
        "use strict";
        cc._RF.push(e, "01592++TDdOEazqEitJd5f5", "MysteryKeyNode"),
        Object.defineProperty(o, "__esModule", {
            value: !0
        });
        var n = t("../../data/shopConfig"),
        i = t("../../utils/AudioMgr"),
        a = t("../../utils/GameManager"),
        r = t("../../utils/wyxTools"),
        s = cc._decorator,
        c = s.ccclass,
        l = s.property,
        d = function(t) {
            function e() {
                var e = null !== t && t.apply(this, arguments) || this;
                return e.keySpriteFrame = [],
                e.rootNode = null,
                e.itemNode = null,
                e._curAward = {
                    awardId: 0,
                    num: 0,
                    weight: 0
                },
                e._rootbtn = null,
                e._isCanClick = !0,
                e
            }
            return __extends(e, t),
            e.prototype.start = function() {
                this.initView()
            },
            e.prototype.setRootBtn = function(t) {
                this._rootbtn = t
            },
            e.prototype.downtimeCall = function() {
                r.
            default.remmoveData("end_is_can_showMysteryKey"),
                this.node.removeFromParent()
            },
            e.prototype.initView = function() {
                for (var t = 0; t < 10; t++) {
                    var e = cc.instantiate(this.itemNode);
                    e.getComponentInChildren(cc.Sprite).spriteFrame = this.keySpriteFrame[Math.floor(Math.random() * this.keySpriteFrame.length)],
                    e.getComponentInChildren(cc.Label).string = "x" + (Math.floor(2 * Math.random()) + 1),
                    this.rootNode.addChild(e)
                }
                var o = 0;
                n.MysteryKeyInfo.forEach(function(t) {
                    o += t.weight
                });
                for (var i = Math.random() * o, a = 0; a < n.MysteryKeyInfo.length; a++) {
                    var r = n.MysteryKeyInfo[a],
                    s = r.weight;
                    if (0 != s && (i -= s) < 0) {
                        this._curAward = r;
                        break
                    }
                }
                var c = cc.instantiate(this.itemNode);
                c.getComponentInChildren(cc.Sprite).spriteFrame = this.keySpriteFrame[this._curAward.awardId == n.myAwardEnum.goldKey ? 1 : 0],
                c.getComponentInChildren(cc.Label).string = "x" + this._curAward.num,
                this.rootNode.addChild(c)
            },
            e.prototype.doAwardTips = function() {
                var t = this,
                e = a.
            default.getInstance().getAwardsByKind(this._curAward, !1);
                a.
            default.getInstance().showAwardTips(e, "\u83b7\u53d6\u5956\u52b1",
                function() {
                    t.node.getComponent("windowOpenEffect").closePanel()
                })
            },
            e.prototype.videoGetBtn = function(t) {
                if (this._isCanClick) {
                    i.
                default.getInstance().playButton();
                    var e = this;
                    cc.adCtl.showVideo(function(o) {
                        1 == o && (e._isCanClick = !1, t.target.active = !1, cc.tween(e.rootNode).to(2, {
                            y: -1725
                        },
                        {
                            easing: "cubicOut"
                        }).delay(1).call(function() {
                            e.doAwardTips(),
                            e._isCanClick = !0,
                            r.
                        default.remmoveData("end_is_can_showMysteryKey")
                        }).removeSelf().start())
                    }),
                    cc.adCtl.umengEvent("home_mysterykey")
                }
            },
            e.prototype.closeNode = function() {
                this._isCanClick && (i.
            default.getInstance().playButton(), this._rootbtn.showBtn(), this.node.getComponent("windowOpenEffect").closePanel())
            },
            __decorate([l([cc.SpriteFrame])], e.prototype, "keySpriteFrame", void 0),
            __decorate([l(cc.Node)], e.prototype, "rootNode", void 0),
            __decorate([l(cc.Node)], e.prototype, "itemNode", void 0),
            __decorate([c], e)
        } (cc.Component);
        o.
    default = d,
        cc._RF.pop()
    },
    {
        "../../data/shopConfig": "shopConfig",
        "../../utils/AudioMgr": "AudioMgr",
        "../../utils/GameManager": "GameManager",
        "../../utils/wyxTools": "wyxTools"
    }],
    NativeAdMgr: [function(t, e) {
        "use strict";
        cc._RF.push(e, "e84bbX/kd5IU43xJ3IJnY9c", "NativeAdMgr"),
        cc.Class({
            extends: cc.Component,
            properties: {
                ad1Node: cc.Node,
                _curAdid: 0,
                _curData: null,
                _callBack: null
            },
            onLoad: function() {
                var t = "";
                this._curData.imgUrlList.length > 0 ? t = this._curData.imgUrlList[0] : this._curData.iconUrlList.length > 0 ? t = this._curData.iconUrlList[0] : this._curData.icon && (t = this._curData.icon),
                this.ad1Node.active = !0;
                var e, o = this.ad1Node.getChildByName("icon").getComponent(cc.Sprite),
                n = this.ad1Node.getChildByName("title").getComponent(cc.Label),
                i = this.ad1Node.getChildByName("des").getComponent(cc.Label),
                a = "";
                e = this._curData.source ? this._curData.source: this._curData.title,
                n.string = e,
                this._curData.desc ? a = this._curData.desc: this._curData.title && (a = this._curData.title),
                i.string = a;
                var r = t.length,
                s = t.substring(r - 3, r);
                "png" != s && "jpg" != s && (t = {
                    url: t,
                    type: "png"
                }),
                cc.loader.load(t,
                function(t, e) {
                    t ? console.log("showNativeAd load= " + t) : o.node.isValid && (o.spriteFrame = new cc.SpriteFrame(e))
                }),
                cc.game.on(cc.game.EVENT_HIDE, this.nativeHide, this, !0)
            },
            nativeHide: function() {
                console.log("native EVENT_HIDE"),
                this.node.removeFromParent(),
                this.node.destroy()
            },
            onDestroy: function() {
                cc.game.off(cc.game.EVENT_HIDE, this.nativeHide, this)
            },
            setCallfun: function(t) {
                this._callBack = t
            },
            showWithData: function(t) {
                this._curAdid = t.adId,
                this._curData = t
            },
            btnCall: function(t, e) {
                "close" == e ? this.closeNode() : "click2" == e || (cc.adCtl.nativeAdEvent(2, this._curAdid), this.closeNode())
            },
            closeNode: function() {
                this._callBack && this._callBack("0"),
                this.nativeHide()
            }
        }),
        cc._RF.pop()
    },
    {}],
    NoviceAward: [function(t, e, o) {
        "use strict";
        cc._RF.push(e, "f2fbfqtXS5JSao6h/w8Z8sn", "NoviceAward"),
        Object.defineProperty(o, "__esModule", {
            value: !0
        });
        var n = t("../../data/shopConfig"),
        i = t("../../utils/AudioMgr"),
        a = t("../../utils/myConfigManager"),
        r = t("../../data/weaponConfig"),
        s = t("../../utils/Emitter"),
        c = t("../../utils/GameManager"),
        l = cc._decorator,
        d = l.ccclass,
        u = l.property,
        h = function(t) {
            function e() {
                var e = null !== t && t.apply(this, arguments) || this;
                return e.awardRoot = null,
                e.getBtn = null,
                e.videoBtn = null,
                e.curFrame = null,
                e.flagSprite = [],
                e
            }
            return __extends(e, t),
            e.prototype.start = function() {
                var t = cc.sys.localStorage.getItem("end_NoviceAward_day");
                this.videoBtn.active = !1;
                var e = (new Date).getDate();
                this.getBtn.active = t != e,
                this.initView(t != e)
            },
            e.prototype.initView = function(t) {
                var e = this,
                o = cc.sys.localStorage.getItem("end_NoviceAward_count") || 0;
                this.getBtn.active = t,
                this.videoBtn.active = t,
                this.awardRoot.children.forEach(function(n, i) {
                    n.getChildByName("ming").active = !1,
                    i > o || (i == o ? (n.getChildByName("ming").active = !0, n.getChildByName("ming").getComponent(cc.Sprite).spriteFrame = t ? e.flagSprite[1] : e.flagSprite[0], e.curFrame.active = t, e.curFrame.x = n.x) : (n.getChildByName("img_check").active = !0, n.getComponent(cc.Sprite).setMaterial(0, cc.Material.getBuiltinMaterial("2d-gray-sprite")), n.getChildByName("icon").getComponent(cc.Sprite).setMaterial(0, cc.Material.getBuiltinMaterial("2d-gray-sprite")), e.closeEffect(n)))
                })
            },
            e.prototype.closeEffect = function(t) {
                t.getChildByName("effect1").active = !1,
                t.getChildByName("effect").active = !1
            },
            e.prototype.doAward = function(t) {
                var e = cc.sys.localStorage.getItem("end_NoviceAward_count") || 0;
                e = parseInt(e);
                var o = t ? r.EquipQualityEnum.purple: r.EquipQualityEnum.green,
                i = null;
                switch (e) {
                case 0:
                    i = a.
                default.getInstance().getWeaponByKind(n.myAwardEnum.shoe, o, 4, 1);
                    break;
                case 1:
                    i = a.
                default.getInstance().getWeaponByKind(n.myAwardEnum.clothes, o, 2, 1);
                    break;
                case 2:
                    i = a.
                default.getInstance().getWeaponByKind(n.myAwardEnum.gloves, o, 4, 1);
                    break;
                case 3:
                    i = a.
                default.getInstance().getWeaponByKind(n.myAwardEnum.weapon, o, 4, 1)
                }
                c.
            default.getInstance().getAwardsByKind({
                    awardId:
                    i.kind,
                    num: 1,
                    data: i
                },
                !1),
                c.
            default.getInstance().getMyPrefab("viewPrefabs/openBoxEffect").then(function(t) {
                    var e = cc.instantiate(t);
                    e.getComponent("openBoxEffect").setOnlyShow(),
                    e.getComponent("openBoxEffect").setAwardKind(n.myAwardEnum.weapon, i),
                    cc.find("Canvas").addChild(e)
                }),
                e += 1,
                cc.sys.localStorage.setItem("end_NoviceAward_count", e);
                var s = (new Date).getDate();
                cc.sys.localStorage.setItem("end_NoviceAward_day", s),
                this.initView(!1)
            },
            e.prototype.getAwardBtn = function() {
                i.
            default.getInstance().playButton(),
                this.getBtn.active = !1,
                this.videoBtn.active = !1,
                this.doAward(!1)
            },
            e.prototype.videoGetBtn = function() {
                i.
            default.getInstance().playButton();
                var t = this;
                cc.adCtl.showVideo(function(e) {
                    1 == e && (t.getBtn.active = !1, t.doAward(!0), t.videoBtn.active = !1)
                }),
                cc.adCtl.umengEvent("home_noviceAward")
            },
            e.prototype.closeBtn = function() {
                i.
            default.getInstance().playButton(),
                this.node.getComponent("windowOpenEffect").closePanel(),
                s.
            default.getInstance().emit("warInfoControl", {
                    name: "refreshBtn"
                })
            },
            __decorate([u(cc.Node)], e.prototype, "awardRoot", void 0),
            __decorate([u(cc.Node)], e.prototype, "getBtn", void 0),
            __decorate([u(cc.Node)], e.prototype, "videoBtn", void 0),
            __decorate([u(cc.Node)], e.prototype, "curFrame", void 0),
            __decorate([u([cc.SpriteFrame])], e.prototype, "flagSprite", void 0),
            __decorate([d], e)
        } (cc.Component);
        o.
    default = h,
        cc._RF.pop()
    },
    {
        "../../data/shopConfig": "shopConfig",
        "../../data/weaponConfig": "weaponConfig",
        "../../utils/AudioMgr": "AudioMgr",
        "../../utils/Emitter": "Emitter",
        "../../utils/GameManager": "GameManager",
        "../../utils/myConfigManager": "myConfigManager"
    }],
    OppoAdManager: [function(t, e) {
        "use strict";
        cc._RF.push(e, "87fcf5FJS9McLoA7EytLf4r", "OppoAdManager");
        var o = t("BaseManager");
        cc.Class({
            extends: o,
            ctor: function() {
                this._rewardedVideoAd = null,
                this._bannerAd = null,
                this._interstitialAd = null,
                this._nativeAd = null,
                this._nativeData = null,
                this._saveIconCall = null,
                this.lastInstTime = 0,
                this.lastNativeTime = 0,
                this.videoCall = null,
                this.appId_adUnitId = "",
                this.inst_adUnitId = "",
                this.video_adUnitId = "",
                this.banner_adUnitId = "",
                this.native_adUnitId = "",
                this.GamePortalAd = null,
                this.myBoxAd = ""
            },
            initSDK: function() {
                this.myAdChannel = "oppo";
                var t = cc.adCtl.getAdInfo("oppo");
                t && (this.appId_adUnitId = t.appId, this.inst_adUnitId = t.inst, this.video_adUnitId = t.video, this.banner_adUnitId = t.banner, this.native_adUnitId = t.native, this.myBoxAd = t.boxAd, this.firstShow = !0, this.videoDelay = 0, "" != this.appId_adUnitId && this.initOppoAd())
            },
            showVideo: function(t) {
                var e = this;
                this.videoCall = t;
                var o = Math.floor((new Date).getTime() / 1e3);
                if (o - this.videoDelay < 60) return this.showToast("\u6ca1\u6709\u89c6\u9891\u5e7f\u544a"),
                void(this.videoCall && this.videoCall(0));
                this.videoDelay = o,
                this._rewardedVideoAd.load().
                catch(function(t) {
                    e.videoCall && e.videoCall(0),
                    e.showToast("\u6ca1\u6709\u89c6\u9891\u5e7f\u544a"),
                    console.log("\u6fc0\u52b1\u89c6\u9891\u5e7f\u544a\u52a0\u8f7d\u5931\u8d25", JSON.stringify(t))
                })
            },
            showInst: function() {
                cc.sys.platform == cc.sys.OPPO_GAME && Math.floor((new Date).getTime() / 1e3) > this.lastInstTime && this._interstitialAd && this._interstitialAd.load()
            },
            showBanner: function() {
                var t = this;
                "" != this.banner_adUnitId && window.qg && (null != this._bannerAd && (this._bannerAd.destroy(), this._bannerAd = null), this._bannerAd = qg.createBannerAd({
                    posId: this.banner_adUnitId
                }), this._bannerAd.onError(function(t) {
                    console.log(t)
                }), this._bannerAd.onLoad(function() {
                    t._bannerAd.show()
                }))
            },
            hideBanner: function() {
                null != this._bannerAd && (this._bannerAd.destroy(), this._bannerAd = null)
            },
            showNative: function() {
                this.loadOppoNative(!0)
            },
            getNativeAdData: function() {
                return null != this._nativeData && this._nativeData.length > 0 ? this._nativeData[0] : null == this._nativeAd ? null: (this._nativeAd.load(), null)
            },
            nativeAdEvent: function(t, e) {
                1 == t ? this.showNativeAd(e) : this.clickNativeAd(e)
            },
            moreGame: function() {
                this.showAppBox()
            },
            doShock: function(t) {
                window.qg && (1 == t ? qg.vibrateShort() : qg.vibrateLong())
            },
            saveDesktopIcon: function(t) {
                this._saveIconCall = t;
                var e = this;
                qg.hasShortcutInstalled({
                    success: function(t) {
                        0 == t ? qg.installShortcut({
                            success: function() {
                                e._saveIconCall && e._saveIconCall()
                            },
                            fail: function() {},
                            complete: function() {}
                        }) : e._saveIconCall && e._saveIconCall()
                    },
                    fail: function() {},
                    complete: function() {}
                })
            },
            initOppoAd: function() {
                this.createOppoAd()
            },
            createOppoAd: function() {
                var t = this;
                qg.reportMonitor && qg.reportMonitor("game_scene", 0),
                "" != t.video_adUnitId && (this._rewardedVideoAd = qg.createRewardedVideoAd({
                    posId: t.video_adUnitId
                }), this._rewardedVideoAd.onLoad(function() {
                    cc.AudioMgr.CtlAndioForAd(!1),
                    t._rewardedVideoAd.show(),
                    console.log("\u6fc0\u52b1\u89c6\u9891\u5df2\u52a0\u8f7d")
                }), this._rewardedVideoAd.onError(function(e) {
                    t.showToast("\u6ca1\u6709\u89c6\u9891\u5e7f\u544a");
                    var o = JSON.stringify(e);
                    console.log("\u6fc0\u52b1\u89c6\u9891\u5f02\u5e38", o),
                    t.videoCall(0)
                }), this._rewardedVideoAd.onClose(function(e) {
                    e && e.isEnded ? (t.videoCall(1), console.log("\u6b63\u5e38\u64ad\u653e\u7ed3\u675f\uff0c\u53ef\u4ee5\u4e0b\u53d1\u6e38\u620f\u5956\u52b1")) : (t.videoCall(0), console.log("\u64ad\u653e\u4e2d\u9014\u9000\u51fa\uff0c\u4e0d\u4e0b\u53d1\u6e38\u620f\u5956\u52b1")),
                    cc.AudioMgr.CtlAndioForAd(!0)
                })),
                "" != t.inst_adUnitId && (this._interstitialAd = qg.createInsertAd({
                    posId: t.inst_adUnitId
                }), this._interstitialAd.onLoad(function() {
                    console.log("\u63d2\u5c4f\u5e7f\u544a\u52a0\u8f7d", res.adList),
                    t._interstitialAd.show(),
                    t.lastInstTime = Math.floor((new Date).getTime() / 1e3) + 60
                })),
                this.loadOppoNative(!1)
            },
            loadOppoNative: function(t) {
                if ("" != this.native_adUnitId) {
                    var e = this;
                    this._nativeAd = qg.createNativeAd({
                        posId: this.native_adUnitId
                    }),
                    this._nativeAd.onError(function(t) {
                        var e = JSON.stringify(t);
                        console.log("nativeAd.onError" + e)
                    }),
                    this._nativeAd.onLoad(function(o) {
                        console.log("\u539f\u751f\u5e7f\u544a\u52a0\u8f7d", o.adList),
                        console.log(JSON.stringify(o.adList)),
                        e._nativeData = o.adList,
                        t && this.doShowNativeAd()
                    }),
                    this._nativeAd.load()
                }
            },
            doShowNativeAd: function() {
                if (null != this._nativeAd) if (null != this._nativeData && this._nativeData.length > 0) {
                    var t = this._nativeData[0],
                    e = t.adId;
                    this.showNativeAd(e),
                    this.showNativeNode(t)
                } else this.showOppoInstAd()
            },
            showNativeNode: function(t) {
                console.log("showNativeNode");
                var e = this;
                this._isShowNativeAD = !0,
                cc.loader.loadRes("nativenode/sl_NativeAdNode",
                function(o, n) {
                    var i = cc.instantiate(n);
                    i.getComponent("NativeAdMgr").setCallfun(function() {
                        e._isShowNativeAD = !1
                    }),
                    i.getComponent("NativeAdMgr").showWithData(t),
                    cc.director.getScene().addChild(i)
                })
            },
            showAppBox: function() {
                if (qg.getSystemInfoSync().platformVersionCode >= 1076) {
                    var t = this;
                    t.GamePortalAd && t.GamePortalAd.destroy().then(function() {
                        console.log("destroy success")
                    }).
                    catch(function(t) {
                        console.log("destroy fail with:" + t.errCode + "," + t.errMsg)
                    }),
                    t.GamePortalAd = qg.createGamePortalAd({
                        adUnitId: t.myBoxAd
                    }),
                    t.GamePortalAd.onLoad(function() {
                        console.log("\u4e92\u63a8\u76d2\u5b50\u6a2a\u5e45\u5e7f\u544a\u52a0\u8f7d\u6210\u529f"),
                        t.GamePortalAd.show().then(function() {
                            console.log("show success")
                        }).
                        catch(function(e) {
                            console.log("show fail with:" + e.errCode + "," + e.errMsg),
                            t.showToast("\u5feb\u5e94\u7528\u5e73\u53f0\u7248\u672c\u53f7\u4f4e\u4e8e1076\uff0c\u4e0d\u652f\u6301\u4e92\u63a8\u76d2\u5b50")
                        })
                    }),
                    t.GamePortalAd.onError(function(e) {
                        t.showToast(e),
                        console.log(e)
                    })
                } else this.showToast("\u5feb\u5e94\u7528\u5e73\u53f0\u7248\u672c\u53f7\u4f4e\u4e8e1076\uff0c\u4e0d\u652f\u6301\u4e92\u63a8\u76d2\u5b50"),
                console.log("\u5feb\u5e94\u7528\u5e73\u53f0\u7248\u672c\u53f7\u4f4e\u4e8e1076\uff0c\u6682\u4e0d\u652f\u6301\u4e92\u63a8\u76d2\u5b50\u76f8\u5173 API")
            },
            showToast: function(t) {
                cc.sys.platform == cc.sys.OPPO_GAME ? qg.showToast({
                    title: t,
                    icon: "success",
                    duration: 2e3
                }) : cc.sys.platform == cc.sys.VIVO_GAME && qg.showToast({
                    message: t
                })
            },
            getIsHaveDesktopIcon: function() {
                return ! 0
            }
        }),
        cc._RF.pop()
    },
    {
        BaseManager: "BaseManager"
    }],
    ParticlePool: [function(t, e) {
        "use strict";
        cc._RF.push(e, "591da2wcoRGiYSxGdvHmdg5", "ParticlePool");
        var o = {
            names: {},
            get: function(t, e, o, n, i) {
                var a = this.names[t];
                this.names[t] || (a = new cc.NodePool, this.names[t] = a);
                var r = a.get();
                if (r) return r.name = o,
                r._source = i,
                e.addChild(r),
                r;
                n || console.warn("\u6ca1\u6709\u56fe\u7247\u7684\u5b50\u5f39");
                var s = (new cc.Node).addComponent(cc.Sprite);
                return s.node.sprite = s.node.addComponent("ParticleSprite"),
                s.spriteFrame = n,
                (r = s.node).name = o,
                s.node._source = i,
                e.addChild(s.node),
                a.poolHandlerComp = "ParticleSprite",
                r
            },
            put: function(t, e) {
                var o = this.names[t];
                o && (e._source = null, o.put(e))
            },
            clean: function() {
                for (var t in this.names) this.names[t].clear();
                this.names = {}
            }
        };
        e.exports = o,
        cc._RF.pop()
    },
    {}],
    ParticleSprite: [function(t, e) {
        "use strict";
        cc._RF.push(e, "2b897UKzzBLHoQ4D65LZmrm", "ParticleSprite");
        var o = t("ParticlePool");
        cc.Class({
            extends: cc.Component,
            properties: {},
            onLoad: function() {
                this.runTime = 0
            },
            setCallBack: function(t) {
                this.cb = t
            },
            reuse: function() {
                this.runTime = 0
            },
            unuse: function() {
                this.cb && this.cb(this),
                this.cb = null
            },
            recovery: function() {
                this.node.emit("recovery", this),
                o.put(this.node._particle.poolName, this.node)
            },
            updateStep: function(t) {
                if (this.enabled) if (this.node._particle.nPicChange && this.node._particle.nPicChange.length > 0 && this.node._particle.nPicChange[0].time > this.node._particle.life && (this.getComponent(cc.Sprite).spriteFrame = this.node._particle.nPicList[this.node._particle.nPicChange[0].id], this.node._particle.nPicChange.shift()), this.node._particle.life -= t, this.node._particle.accelerationTime -= t, this.runTime += t, this.node._particle.life < 0) this.recovery();
                else {
                    var e = Math.max(this.node._particle.accelerationTime, 0) * this.node._particle.acceleration.x,
                    o = Math.max(this.node._particle.accelerationTime, 0) * this.node._particle.acceleration.y,
                    n = this.node._particle.gravity.x * this.runTime * this.runTime / 2,
                    i = this.node._particle.gravity.y * this.runTime * this.runTime / 2,
                    a = (this.node._particle.speed.x + e) * t + n,
                    r = (this.node._particle.speed.y + o) * t + i;
                    this.node.x += a,
                    this.node.y += r,
                    this.node.opacity = Math.min(Math.max(0, this.node.opacity + this.node._particle.opacity * t), 255),
                    this.node.setScale(this.node.scaleX + this.node._particle.scale.x * t, this.node.scaleY + this.node._particle.scale.y * t)
                }
            },
            update: function(t) {
                this.node._particle && this.updateStep(t)
            }
        }),
        cc._RF.pop()
    },
    {
        ParticlePool: "ParticlePool"
    }],
    ParticleSystem: [function(t, e) {
        "use strict";
        cc._RF.push(e, "ad088hsP6hJFJzVN4PeFX7J", "ParticleSystem");
        var o = t("ParticlePool"),
        n = {
            CREATE: "particle_create",
            DESTROY: "particle_destroy",
            REPEAT: "particle_repeat",
            FINISH: "particle_finish",
            ALL_FINISH: "finish"
        },
        i = cc.Class({
            name: "ParticleMore",
            properties: {
                dx: 0,
                dy: 0,
                dr: 0
            }
        }),
        a = cc.Enum({
            single: 0,
            random: 1,
            sequence: 2
        });
        cc.Class({
            extends: cc.Component,
            properties: {
                textureKind: {
                    type: a,
                default:
                    a.single
                },
                texture: {
                default:
                    null,
                    type: cc.SpriteFrame,
                    tooltip: "\u4f7f\u7528assets\u52a0\u8f7d\uff0c\u4f1a\u4f18\u5148\u4f7f\u7528\u914d\u7f6e\u4e2d\u7684\u56fe\u7247\uff0c\u5982\u679c\u6ca1\u6709\u518d\u4f7f\u7528\u672c\u8bbe\u7f6e\u7684\u56fe\u7247",
                    visible: function() {
                        return this.textureKind == a.single
                    }
                },
                textureList: {
                default:
                    [],
                    type: cc.SpriteFrame,
                    visible: function() {
                        return this.textureKind != a.single
                    }
                },
                parentNode: {
                    type: cc.Node,
                default:
                    null
                },
                autoPlay: !1,
                isUseEdit: !0,
                myJsonData: {
                default:
                    null,
                    type: cc.JsonAsset,
                    tooltip: "\u6839\u636e\u914d\u7f6e\u6765\u521d\u59cb\u5316\u9762\u677f\u53c2\u6570",
                    visible: function() {
                        return ! this.isUseEdit
                    }
                },
                launchData: {
                    tooltip: "\u540c\u4e00\u65f6\u95f4\u53d1\u5c04\u6570\u91cf",
                default:
                    1,
                    visible: function() {
                        return this.isUseEdit
                    }
                },
                life: {
                default:
                    0,
                    tooltip: "\u751f\u547d\u65f6\u95f4",
                    visible: function() {
                        return this.isUseEdit
                    }
                },
                lifeOffset: {
                default:
                    0,
                    tooltip: "\u751f\u547d\u504f\u79fb",
                    visible: function() {
                        return this.isUseEdit
                    }
                },
                emissionRate: {
                default:
                    0,
                    tooltip: "\u6bcf\u79d2\u53d1\u5c04\u6b21\u6570,0\u7acb\u523b\u53d1\u5c04",
                    visible: function() {
                        return this.isUseEdit
                    }
                },
                startPointOffset: {
                default:
                    cc.v2(0, 0),
                    tooltip: "\u8d77\u59cb\u70b9\u4f4d\u7f6e\u504f\u79fb",
                    visible: function() {
                        return this.isUseEdit
                    }
                },
                speed: {
                default:
                    0,
                    tooltip: "\u79fb\u52a8\u901f\u5ea6\uff0c\u5355\u4f4d\u79d2",
                    visible: function() {
                        return this.isUseEdit
                    }
                },
                speedOffset: {
                default:
                    0,
                    tooltip: "\u79fb\u52a8\u53d8\u5316\u504f\u79fb",
                    visible: function() {
                        return this.isUseEdit
                    }
                },
                accelerationStart: {
                default:
                    0,
                    tooltip: "\u52a0\u901f\u5ea6\u7684\u521d\u59cb\u901f\u5ea6",
                    visible: function() {
                        return this.isUseEdit
                    }
                },
                accelerationTime: {
                default:
                    0,
                    tooltip: "\u52a0\u901f\u5ea6\u7684\u53d8\u5316\u65f6\u95f4\uff0c\u5c06\u52a0\u901f\u5ea6\u53d8\u4e3a0\u7684\u65f6\u95f4",
                    visible: function() {
                        return this.isUseEdit
                    }
                },
                gravity: {
                default:
                    cc.v2(0, 0),
                    tooltip: "\u91cd\u529b\u503c",
                    visible: function() {
                        return this.isUseEdit
                    }
                },
                startSizeOffset: {
                default:
                    cc.v2(0, 0),
                    tooltip: "\u521d\u59cb\u5927\u5c0f\u504f\u79fb",
                    visible: function() {
                        return this.isUseEdit
                    }
                },
                startAngle: {
                default:
                    0,
                    tooltip: "\u521d\u59cb\u65b9\u5411",
                    visible: function() {
                        return this.isUseEdit
                    }
                },
                startAngleOffset: {
                default:
                    0,
                    tooltip: "\u521d\u59cb\u65b9\u5411\u504f\u79fb",
                    visible: function() {
                        return this.isUseEdit
                    }
                },
                startOpacity: {
                default:
                    255,
                    tooltip: "\u521d\u59cb\u900f\u660e\u5ea6",
                    visible: function() {
                        return this.isUseEdit
                    }
                },
                startOpacityOffset: {
                default:
                    0,
                    tooltip: "\u521d\u59cb\u900f\u660e\u5ea6\u504f\u79fb",
                    visible: function() {
                        return this.isUseEdit
                    }
                },
                opacityRate: {
                default:
                    0,
                    tooltip: "\u900f\u660e\u5ea6\u53d8\u5316",
                    visible: function() {
                        return this.isUseEdit
                    }
                },
                opacityRateOffset: {
                default:
                    0,
                    tooltip: "\u900f\u660e\u5ea6\u53d8\u5316\u504f\u79fb",
                    visible: function() {
                        return this.isUseEdit
                    }
                },
                startScale: {
                default:
                    cc.v2(1, 1),
                    tooltip: "\u521d\u59cb\u7f29\u653e",
                    visible: function() {
                        return this.isUseEdit
                    }
                },
                startScaleOffset: {
                default:
                    cc.v2(0, 0),
                    tooltip: "\u521d\u59cb\u7f29\u653e\u504f\u79fb",
                    visible: function() {
                        return this.isUseEdit
                    }
                },
                scaleRate: {
                default:
                    cc.v2(0, 0),
                    tooltip: "\u7f29\u653e\u53d8\u5316",
                    visible: function() {
                        return this.isUseEdit
                    }
                },
                scaleRateOffset: {
                default:
                    cc.v2(0, 0),
                    tooltip: "\u7f29\u653e\u53d8\u5316\u504f\u79fb",
                    visible: function() {
                        return this.isUseEdit
                    }
                },
                repeat: {
                default:
                    -1,
                    tooltip: "\u5faa\u73af\u6b21\u6570,-1\u8868\u793a\u65e0\u9650",
                    visible: function() {
                        return this.isUseEdit
                    }
                }
            },
            statics: {
                Event: n,
                ParticleMore: i
            },
            getData: function() {
                return {
                    launchData: this.launchData,
                    life: this.life,
                    lifeOffset: this.lifeOffset,
                    emissionRate: this.emissionRate,
                    speed: this.speed,
                    speedOffset: this.speedOffset,
                    startPointOffset: this.startPointOffset,
                    startSizeOffset: this.startSizeOffset,
                    startAngle: this.startAngle,
                    startAngleOffset: this.startAngleOffset,
                    startOpacity: this.startOpacity,
                    startOpacityOffset: this.startOpacityOffset,
                    opacityRate: this.opacityRate,
                    opacityRateOffset: this.opacityRateOffset,
                    startScale: this.startScale,
                    startScaleOffset: this.startScaleOffset,
                    scaleRate: this.scaleRate,
                    scaleRateOffset: this.scaleRateOffset,
                    repeat: this.repeat,
                    spriteFrame: this.spriteFrame,
                    accelerationStart: this.accelerationStart,
                    accelerationTime: this.accelerationTime,
                    gravity: this.gravity
                }
            },
            addEvent: function(t, e) {
                this.events[t] = e
            },
            dispatch: function(t, e) {
                this.events[t] && this.events[t](e)
            },
            onLoad: function() {
                if (this.events = {},
                this.particleTexture = null, this.isPause = !1, this.parentNode || (this.parentNode = this.node), this.isUseEdit) this.gameData = this.getData();
                else {
                    if (!this.myJsonData) return;
                    this.gameData = this.myJsonData.json
                }
                var t = this.node.name;
                if (this.textureKind == a.single) {
                    if (!this.texture) return void console.log("\u8d44\u6e90\u9519\u8bef");
                    this.setTextureStart(this.texture, !0, t)
                } else if (this.textureKind == a.random) {
                    if (0 == this.textureList.length) return void console.log("\u8d44\u6e90\u9519\u8bef");
                    Math.floor(Math.random() * this.textureList.length),
                    this.setTextureStart(this.textureList[0], !0, t)
                } else if (this.textureKind == a.sequence) {
                    if (0 == this.textureList.length) return void console.log("\u8d44\u6e90\u9519\u8bef");
                    this.setTextureStart(this.textureList[0], !0, t)
                }
            },
            setTextureStart: function(t, e, o) {
                void 0 === o && (o = "poolName"),
                this._poolName = o,
                this.particleTexture = t,
                e && this.node && this.startLaunch()
            },
            startLaunch: function() {
                this.lastTime = 0,
                this.isRuning = !0,
                this.isLaunch = !0,
                this.repeat2 = 0,
                this.resetCreateTime(),
                this.index = -1,
                this.runTime = 0
            },
            pause: function() {
                this.isLaunch = !1
            },
            resume: function() {
                this.particleTexture && !this.isLaunch && (this.isLaunch = !0)
            },
            resetNode: function() {
                for (var t = 0; t < this._pools._pool.length; t++) delete this._pools._pool[t]._isGet
            },
            resetCreateTime: function() {
                0 != this.gameData.emissionRate ? this._createTimes = 1 / this.gameData.emissionRate: this._createTimes = 0
            },
            randomInteger: function() {
                return 2 * Math.random() - 1
            },
            launch: function() {
                if (this.particleTexture || console.error("\u53d1\u5c04\u7c92\u5b50\u65f6\u7684\u7eb9\u7406\u4e0d\u5b58\u5728:"), this.textureKind == a.random) {
                    var t = Math.floor(Math.random() * this.textureList.length);
                    this.particleTexture = this.textureList[t]
                }
                var e = o.get(this._poolName, this.parentNode, "particle" + this.index, this.particleTexture, this.node._skillBase);
                if (e.group = this.node.group, e.x = this.gameData.startPointOffset.x * this.randomInteger(), e.y = this.gameData.startPointOffset.y * this.randomInteger(), this.parentNode != this.node) {
                    var i = this.node.convertToWorldSpaceAR(cc.v2(0, 0));
                    i = this.parentNode.convertToNodeSpaceAR(i),
                    e.x += i.x,
                    e.y += i.y
                }
                var r = this.gameData.startAngle - this.node.angle,
                s = this.gameData.speed + this.gameData.speedOffset * this.randomInteger(),
                c = 90 - r - this.gameData.startAngleOffset * this.randomInteger(),
                l = s * Math.cos(c * Math.PI / 180),
                d = s * Math.sin(c * Math.PI / 180);
                e.angle = -r,
                e.opacity = this.gameData.startOpacity + this.gameData.startOpacityOffset * this.randomInteger();
                var u = this.gameData.startScale.y + this.gameData.startScaleOffset.x * this.randomInteger(),
                h = this.gameData.startScale.y + this.gameData.startScaleOffset.y * this.randomInteger();
                if (e.setScale(u, h), e._particle) {
                    if (e._particle.speed = cc.v2(l, d), e._particle.life = this.gameData.life + this.gameData.lifeOffset * this.randomInteger(), e._particle.accelerationTime = this.gameData.accelerationTime || 0, g = this.gameData.accelerationStart || 0, e._particle.acceleration = cc.v2(g * Math.cos(c * Math.PI / 180), g * Math.sin(c * Math.PI / 180)), this.textureKind == a.sequence) {
                        for (var p = [], f = e._particle.life / this.textureList.length, m = 0; m < this.textureList.length; m++) p.push({
                            id: m,
                            time: e._particle.life - m * f
                        });
                        e._particle.nPicChange = p
                    }
                } else {
                    var g = this.gameData.accelerationStart || 0,
                    _ = this.gameData.accelerationTime || 0;
                    if (e._particle = {
                        poolName: this._poolName,
                        speedInit: s,
                        speed: cc.v2(l, d),
                        acceleration: cc.v2(g * Math.cos(c * Math.PI / 180), g * Math.sin(c * Math.PI / 180)),
                        accelerationTime: _,
                        gravity: this.gameData.gravity || cc.v2(0, 0),
                        life: this.gameData.life + this.gameData.lifeOffset * this.randomInteger(),
                        angle: this.gameData.startAngle + this.gameData.startAngleOffset * this.randomInteger(),
                        index: this.index,
                        opacity: this.gameData.opacityRate + this.gameData.opacityRateOffset * this.randomInteger(),
                        scale: cc.v2(this.gameData.scaleRate.x + this.gameData.scaleRateOffset.x * this.randomInteger(), this.gameData.scaleRate.y + this.gameData.scaleRateOffset.y * this.randomInteger()),
                        createTime: this.runTime
                    },
                    this.textureKind == a.sequence) {
                        e._particle.nPicList = this.textureList;
                        for (var y = [], v = e._particle.life / this.textureList.length, w = 0; w < this.textureList.length; w++) y.push({
                            id: w,
                            time: e._particle.life - w * v
                        });
                        e._particle.nPicChange = y
                    }
                }
                var C = this;
                e.sprite.setCallBack(function(t) {
                    C.node && (C.dispatch(n.DESTROY, {
                        detail: t,
                        target: C
                    }), 0 == C.parentNode.children.length && (C.dispatch(n.ALL_FINISH, {
                        target: C
                    }), C.node.removeFromParent()))
                }),
                this.dispatch(n.CREATE, {
                    target: C,
                    detail: e.sprite
                })
            },
            updateStep: function(t) {
                if (this.runTime += t, this.runTime > this._createTimes) {
                    for (var e = 0; e < this.gameData.launchData; e++) this.launch();
                    this.index++,
                    this.runTime = 0,
                    this.isLaunch && this.index >= this.gameData.emissionRate - 1 && ( - 1 != this.gameData.repeat && this.repeat2++, -1 == this.gameData.repeat || this.repeat2 < this.gameData.repeat ? (this.dispatch(n.repeat, this), this.resetCreateTime(), this.runTime = 0, this.index = -1) : (this.dispatch(n.FINISH, {
                        target: this
                    }), this.isLaunch = !1))
                }
            },
            update: function(t) {
                this.isRuning && this.isLaunch && this.updateStep(t)
            }
        }),
        cc._RF.pop()
    },
    {
        ParticlePool: "ParticlePool"
    }],
    PauseNode: [function(t, e, o) {
        "use strict";
        cc._RF.push(e, "fc43czZQE5H/J/W+s+gpZGJ", "PauseNode"),
        Object.defineProperty(o, "__esModule", {
            value: !0
        });
        var n = t("../../utils/Emitter"),
        i = t("../../utils/AudioMgr"),
        a = t("../../utils/myConfigManager"),
        r = t("../../control/ResManager"),
        s = cc._decorator,
        c = s.ccclass,
        l = s.property,
        d = function(t) {
            function e() {
                var e = null !== t && t.apply(this, arguments) || this;
                return e.skillShowNode = null,
                e._itemNode = null,
                e
            }
            return __extends(e, t),
            e.prototype.onLoad = function() {
                this._itemNode = this.skillShowNode.children[0],
                this._itemNode.parent = null,
                this.initSkillShow()
            },
            e.prototype.onDestroy = function() {},
            e.prototype.returnCallBtn = function() {
                i.
            default.getInstance().playButton(),
                n.
            default.getInstance().emit("myGameControl", {
                    name: "showResult"
                }),
                this.node.getComponent("windowOpenEffect").closePanel()
            },
            e.prototype.resumeGameBtn = function() {
                i.
            default.getInstance().playButton(),
                this.node.getComponent("windowOpenEffect").closePanel(),
                n.
            default.getInstance().emit("myGameControl", {
                    name: "gamePlayState",
                    state: !1
                })
            },
            e.prototype.initSkillShow = function() {
                var t = a.
            default.getInstance()._levelSkillSelectList;
                for (var e in t) if (Object.prototype.hasOwnProperty.call(t, e)) {
                    var o = t[e],
                    n = cc.instantiate(this._itemNode);
                    n.getComponent(cc.Sprite).spriteFrame = r.
                default._instance.LevelSkill.getSpriteFrame("levelSkill" + e),
                    n.getComponentInChildren(cc.Label).string = "Lv." + o,
                    this.skillShowNode.addChild(n)
                }
            },
            __decorate([l(cc.Node)], e.prototype, "skillShowNode", void 0),
            __decorate([c], e)
        } (cc.Component);
        o.
    default = d,
        cc._RF.pop()
    },
    {
        "../../control/ResManager": "ResManager",
        "../../utils/AudioMgr": "AudioMgr",
        "../../utils/Emitter": "Emitter",
        "../../utils/myConfigManager": "myConfigManager"
    }],
    PopWinManager: [function(t, e, o) {
        "use strict";
        cc._RF.push(e, "23cd2RWiCFD3pEwGUe4saGj", "PopWinManager"),
        Object.defineProperty(o, "__esModule", {
            value: !0
        });
        var n = cc._decorator,
        i = n.ccclass,
        a = (n.property,
        function(t) {
            function e() {
                var e = null !== t && t.apply(this, arguments) || this;
                return e.myWinInfo = [],
                e.curIsShow = !1,
                e
            }
            var o;
            return __extends(e, t),
            o = e,
            e.getInstance = function() {
                return null == o._instance && (o._instance = new o, cc.PopWinManager = o._instance),
                o._instance
            },
            e.prototype.setWinInfo = function(t, e, o) {
                if (this.myWinInfo.length > 0) for (var n = 0; n < this.myWinInfo.length; n++) if (this.myWinInfo[n].nkey == t) return;
                var i = {
                    nkey: t,
                    myPre: e,
                    myParent: o
                };
                this.myWinInfo.push(i),
                this.showNextWin()
            },
            e.prototype.insetWinInfo = function(t, e, o, n) {
                var i = {
                    nkey: t,
                    myPre: e,
                    myParent: o
                };
                this.myWinInfo.splice(n, 0, i),
                this.showNextWin()
            },
            e.prototype.showNextWin = function() {
                if (!this.curIsShow && this.myWinInfo.length > 0) {
                    this.curIsShow = !0;
                    var t = this.myWinInfo.shift();
                    t.myParent.addChild(t.myPre)
                }
            },
            e.prototype.closeWin = function() {
                this.curIsShow && (this.curIsShow = !1, this.showNextWin())
            },
            e._instance = null,
            o = __decorate([i], e)
        } (cc.Component));
        o.
    default = a,
        cc._RF.pop()
    },
    {}],
    PosAdaptive: [function(t, e, o) {
        "use strict";
        cc._RF.push(e, "a924cTqx3ZDZI3n0YCLs+Or", "PosAdaptive"),
        Object.defineProperty(o, "__esModule", {
            value: !0
        });
        var n = cc._decorator,
        i = n.ccclass,
        a = n.property,
        r = function(t) {
            function e() {
                var e = null !== t && t.apply(this, arguments) || this;
                return e.upNum = 0,
                e.bottomNum = 0,
                e.leftNum = 0,
                e.rightNum = 0,
                e.isWeight = !0,
                e
            }
            return __extends(e, t),
            e.prototype.onLoad = function() {
                cc.adCtl.testChannel(0) || cc.adCtl.testChannel(11) || (this.node.getComponent(cc.Widget).top += this.upNum, this.node.getComponent(cc.Widget).bottom += this.bottomNum, this.node.getComponent(cc.Widget).left += this.leftNum, this.node.getComponent(cc.Widget).right += this.rightNum, this.node.getComponent(cc.Widget).updateAlignment())
            },
            e.prototype.start = function() {},
            __decorate([a], e.prototype, "upNum", void 0),
            __decorate([a], e.prototype, "bottomNum", void 0),
            __decorate([a], e.prototype, "leftNum", void 0),
            __decorate([a], e.prototype, "rightNum", void 0),
            __decorate([a], e.prototype, "isWeight", void 0),
            __decorate([i], e)
        } (cc.Component);
        o.
    default = r,
        cc._RF.pop()
    },
    {}],
    QQAdManager: [function(t, e) {
        "use strict";
        cc._RF.push(e, "198dbSq2wxFKKmSySH28c0a", "QQAdManager");
        var o = t("BaseManager");
        cc.Class({
            extends: o,
            ctor: function() {
                this.bannerAdCtrl = null,
                this.videoAdCtrl = null,
                this.videoAdCall = null,
                this.lastInstTime = 0,
                this.lastNativeTime = 0,
                this.videoCall = null,
                this.appId_adUnitId = "",
                this.inst_adUnitId = "",
                this.video_adUnitId = "",
                this.banner_adUnitId = "",
                this.GamePortalAd = null,
                this.myBoxAd = ""
            },
            initSDK: function() {
                this.myAdChannel = "shouQ";
                var t = cc.adCtl.getAdInfo("shouQ");
                t && (this.appId_adUnitId = t.appId, this.inst_adUnitId = t.inst, this.video_adUnitId = t.video, this.banner_adUnitId = t.banner, this.myBoxAd = t.boxAd, this.initMyVideoAds(), window.qq && (console.log("window.qq"), qq.showShareMenu({
                    showShareItems: ["qq", "qzone", "wechatFriends", "wechatMoment"]
                }), qq.onShareAppMessage(function() {
                    return {
                        title: "",
                        imageUrl: ""
                    }
                })))
            },
            showToast: function(t) {
                cc.log(t),
                window.qq && qq.showToast({
                    title: t,
                    icon: "none",
                    duration: 2e3
                })
            },
            showInst: function() {
                if (window.qq) {
                    var t = qq.createInterstitialAd({
                        adUnitId: this.inst_adUnitId
                    });
                    t.onLoad(function() {
                        t.show()
                    }),
                    t.onError(function(t) {
                        console.log(t)
                    }),
                    t.load()
                }
            },
            initMyVideoAds: function() {
                if (window.qq) {
                    if ("" == this.video_adUnitId) return;
                    var t = this;
                    this.videoAdCtrl = qq.createRewardedVideoAd({
                        adUnitId: this.video_adUnitId
                    }),
                    this.videoAdCtrl.onError(function(e) {
                        console.log("\u5e7f\u544a\u52a0\u8f7d\u51fa\u9519 " + e.errMsg),
                        t.showToast("\u6682\u65e0\u89c6\u9891")
                    }),
                    this.videoAdCtrl.onLoad(function() {
                        console.log("\u52a0\u8f7d\u4e8b\u4ef6\u56de\u8c03")
                    }),
                    this.videoAdCtrl.onClose(function(e) {
                        console.log("\u662f\u5426\u89c2\u770b\u5b8c\u6574\u4e86 " + e.isEnded),
                        e.isEnded ? t.videoAdCall(1) : (t.videoAdCall(0), t.showToast("\u672a\u64ad\u653e\u5b8c\u6210,\u4e0d\u80fd\u83b7\u5f97\u5956\u52b1"))
                    })
                }
            },
            showVideo: function(t) {
                var e = this;
                if (console.log("ShowVideoAds \u4e8b\u4ef6\u56de\u8c03"), this.videoAdCall = t, window.qq) {
                    if (null == this.videoAdCtrl) return void this.videoAdCall(0);
                    this.videoAdCtrl.load().then(function() {
                        return e.videoAdCtrl.show()
                    }).
                    catch(function(t) {
                        return console.log(t.errMsg)
                    })
                } else console.log("mycb\u4e8b\u4ef6\u56de\u8c03"),
                this.videoAdCall(0)
            },
            hideBanner: function() {
                window.qq && null != this.bannerAdCtrl && (this.bannerAdCtrl.destroy(), this.bannerAdCtrl = null)
            },
            showBanner: function() {
                var t = this;
                if (this.resizeTime = 0, this.allScreen = !1, window.qq) {
                    if ("" == this.banner_adUnitId) return;
                    null != this.bannerAdCtrl && this.bannerAdCtrl.destroy();
                    var e = {};
                    e.W = qq.getSystemInfoSync().windowWidth,
                    e.H = qq.getSystemInfoSync().windowHeight,
                    this.bannerAdCtrl = qq.createBannerAd({
                        adUnitId: this.banner_adUnitId,
                        style: {
                            left: 0,
                            top: e.H - 128,
                            width: 300
                        }
                    }),
                    this.bannerAdCtrl.onResize(function(o) {
                        t.bannerAdCtrl.style.left = .5 * (e.W - o.width),
                        t.bannerAdCtrl.style.top = e.H - o.height
                    }),
                    this.bannerAdCtrl.onLoad(function() {
                        console.log(" banner \u52a0\u8f7d\u5b8c\u6210"),
                        t.bannerAdCtrl.show().then(function() {
                            console.log("\u5e7f\u544a\u663e\u793a\u6210\u529f")
                        }).
                        catch(function(t) {
                            console.log("\u5e7f\u544a\u7ec4\u4ef6\u51fa\u73b0\u95ee\u9898", t)
                        })
                    }),
                    this.bannerAdCtrl.onError(function(t) {
                        console.log(t)
                    }),
                    console.log("\u51c6\u5907\u663e\u793abanner\u5e7f\u544a")
                }
            },
            moreGame: function() {
                if (window.qq) {
                    console.log("showAppBox");
                    try {
                        var t = qq.createAppBox({
                            adUnitId: this.myBoxAd
                        });
                        t.load().then(function() {
                            console.log("showAppBox 2"),
                            t.show()
                        })
                    } catch(e) {
                        console.log("showAppBox" + e)
                    }
                }
            },
            saveDesktopIcon: function() {
                window.qq && qq.saveAppToDesktop()
            },
            getIsHaveDesktopIcon: function() {
                return ! 0
            }
        }),
        cc._RF.pop()
    },
    {
        BaseManager: "BaseManager"
    }],
    QttAdManager: [function(t, e) {
        "use strict";
        cc._RF.push(e, "5e8faMeVIxOhqgnQvdUOa+U", "QttAdManager");
        var o = t("BaseManager");
        cc.Class({
            extends: o,
            ctor: function() {
                this.videoAdCall = null
            },
            initSDK: function() {
                this.myAdChannel = "qtt",
                document.addEventListener("visibilitychange",
                function() {
                    document.hidden ? cc.AudioMgr.CtlAndioForAd(!1) : cc.AudioMgr.CtlAndioForAd(!0)
                })
            },
            showVideo: function(t) {
                if (window.qttGame) {
                    this.videoAdCall = t;
                    var e = {
                        index: 1,
                        gametype: 1,
                        rewardtype: 1,
                        data: {}
                    };
                    e.data.title = "\u89c6\u9891\u5956\u52b1",
                    e.data.url = "";
                    var o = this;
                    cc.AudioMgr.CtlAndioForAd(!1),
                    qttGame.showVideo(function(t) {
                        cc.AudioMgr.CtlAndioForAd(!0),
                        o.videoAdCall(t)
                    },
                    e)
                }
            }
        }),
        cc._RF.pop()
    },
    {
        BaseManager: "BaseManager"
    }],
    ResManager: [function(t, e, o) {
        "use strict";
        cc._RF.push(e, "1d929Id/oFKpbtwDifWBv60", "ResManager"),
        Object.defineProperty(o, "__esModule", {
            value: !0
        });
        var n = cc._decorator,
        i = n.ccclass,
        a = n.property,
        r = function(t) {
            function e() {
                var e = null !== t && t.apply(this, arguments) || this;
                return e.HitShaderMtl = null,
                e.bullet_Actor = null,
                e.DropAward = null,
                e.LevelSkill = null,
                e
            }
            var o;
            return __extends(e, t),
            o = e,
            e.prototype.onLoad = function() {
                o._instance = this
            },
            e.prototype.doMyClear = function() {
                o._instance.destroy(),
                o._instance = null
            },
            e.prototype.onDestroy = function() {
                this.doMyClear()
            },
            e._instance = null,
            __decorate([a(cc.Material)], e.prototype, "HitShaderMtl", void 0),
            __decorate([a({
                type: cc.SpriteAtlas,
                tooltip: "\u73a9\u5bb6\u5b50\u5f39"
            })], e.prototype, "bullet_Actor", void 0),
            __decorate([a({
                type: cc.SpriteAtlas,
                tooltip: "\u6389\u843d\u5956\u52b1"
            })], e.prototype, "DropAward", void 0),
            __decorate([a({
                type: cc.SpriteAtlas,
                tooltip: "\u5173\u5361\u6280\u80fd"
            })], e.prototype, "LevelSkill", void 0),
            o = __decorate([i], e)
        } (cc.Component);
        o.
    default = r,
        cc._RF.pop()
    },
    {}],
    ResultNode: [function(t, e, o) {
        "use strict";
        cc._RF.push(e, "e9748ugqedM1JyRj3LVRoKX", "ResultNode"),
        Object.defineProperty(o, "__esModule", {
            value: !0
        });
        var n = t("../../utils/GameManager"),
        i = t("../../utils/myConfigManager"),
        a = t("../../data/shopConfig"),
        r = t("../../control/ResManager"),
        s = t("../../utils/Emitter"),
        c = t("../TutorialEnum"),
        l = t("../../utils/AudioMgr"),
        d = t("../../utils/wyxTools"),
        u = cc._decorator,
        h = u.ccclass,
        p = u.property,
        f = function(t) {
            function e() {
                var e = null !== t && t.apply(this, arguments) || this;
                return e.levelInfo = null,
                e.goldLabel = null,
                e.awardContent = null,
                e.expNode = null,
                e.resultNode = null,
                e.awardCardtNode = null,
                e._awardItem = null,
                e._curState = !1,
                e
            }
            return __extends(e, t),
            e.prototype.onLoad = function() {
                if (0 != i.
            default.getInstance()._curlevelIndex) if (cc.adCtl.testM4399T()) {
                    var t = this;
                    this.resultNode.active = !1;
                    var e = cc.instantiate(this.awardCardtNode);
                    e.getComponent("AwardCardNode").setCallBack(function() {
                        t.resultNode.active = !0,
                        t.node.getComponent("windowOpenEffect").startFadeIn(),
                        t.initReusltView()
                    }),
                    this.node.addChild(e)
                } else this.initReusltView();
                else this.initReusltView()
            },
            e.prototype.initReusltView = function() {
                this._awardItem = this.awardContent.children[0],
                this._awardItem.parent = null;
                var t = n.
            default.getInstance()._tempGameDrop[0];
                this.goldLabel.string = "x" + t.num;
                var e = i.
            default.getInstance()._curlevelIndex,
                o = i.
            default.getInstance()._curLevelPass;
                if (this._curState || (o -= 1), this.levelInfo.string = "\u5173\u5361" + e + " \u6ce2\u6b21" + o, 0 != e) {
                    var a = n.
                default.getInstance().getData("selfDifficulty"),
                    r = n.
                default.getInstance().getData("selfLevelInfo");
                    if (r[a][e - 1] < o) {
                        if (r[a][e - 1] = o, o >= 50) {
                            var l = r[a][e];
                            l && l < 0 && (r[a][e] = 0)
                        }
                        n.
                    default.getInstance().setData("selfLevelInfo", r)
                    }
                    d.
                default.setData("end_is_can_showMysteryKey", 1),
                    d.
                default.setData("end_completelv", 1)
                } else n.
            default.getInstance().getTutorialData(c.TutorialEnum.step_get_key - 1) && s.
            default.getInstance().emit("touch_tutorial", {
                    step: c.TutorialEnum.step_get_key - 1
                });
                cc.adCtl.umengEvent("completeLevel", "lv" + e + "_pass" + o),
                n.
            default.getInstance().getData("selfLevelInfo"),
                this.initAwardList(),
                this.initExpNode()
            },
            e.prototype.setState = function(t) {
                this._curState = t
            },
            e.prototype.initAwardList = function() {
                for (var t = {},
                e = 1; e < n.
            default.getInstance()._tempGameDrop.length; e++) {
                    var o = "quality_bg",
                    r = "",
                    s = 1;
                    if ((d = n.
                default.getInstance()._tempGameDrop[e]).awardId != a.myAwardEnum.rune) d.awardId >= a.myAwardEnum.weapon && d.awardId <= a.myAwardEnum.accessories ? (r = i.
                default.getInstance().getNameByAwardKind(d.awardId) + d.data.index, o = "quality_" + (d.data.quality + 1)) : (r = i.
                default.getInstance().getNameByAwardKind(d.awardId), s = d.num),
                    this.addAwardItem(r, o, s);
                    else {
                        r = i.
                    default.getInstance().getNameByAwardKind(d.awardId, d.data.kind) + d.data.lv;
                        var c = Math.floor((d.data.lv - 1) / 3);
                        c > 5 && (c = 5),
                        o = "quality_" + (c + 1),
                        t.hasOwnProperty(r) ? t[r].num += 1 : t[r] = {
                            num: 1,
                            bgName: o
                        }
                    }
                }
                for (var l in t) {
                    var d = t[l];
                    this.addAwardItem(l, d.bgName, d.num)
                }
                n.
            default.getInstance().getAwardsByKind(n.
            default.getInstance()._tempGameDrop, !1)
            },
            e.prototype.addAwardItem = function(t, e, o) {
                var n = cc.instantiate(this._awardItem);
                n.getComponent(cc.Sprite).spriteFrame = r.
            default._instance.DropAward.getSpriteFrame(e),
                n.getChildByName("icon").getComponent(cc.Sprite).spriteFrame = r.
            default._instance.DropAward.getSpriteFrame(t),
                n.getComponentInChildren(cc.Label).string = "x" + o,
                this.awardContent.addChild(n)
            },
            e.prototype.initExpNode = function() {
                var t = n.
            default.getInstance().getData("selfLv"),
                e = n.
            default.getInstance().getData("selfExp");
                e += i.
            default.getInstance()._curGetExp;
                var o = !0;
                do {
                    var a = 100 + 100 * t;
                    e >= a ? (e -= a, t++) : o = !1
                } while ( o );
                n.
            default.getInstance().setData("selfLv", t),
                n.
            default.getInstance().setData("selfExp", e),
                this.expNode.active = !0
            },
            e.prototype.returnHomeBtn = function() {
                l.
            default.getInstance().playButton(),
                cc.director.loadScene("HomeScene")
            },
            e.prototype.doubleAwardBtn = function(t) {
                l.
            default.getInstance().playButton(),
                t.target.active = !1,
                cc.adCtl.showVideo(function(t) {
                    if (1 == t) {
                        var e = n.
                    default.getInstance()._tempGameDrop[0];
                        n.
                    default.getInstance().getAwardsByKind(e, !1);
                        var o = i.
                    default.getInstance().getNameByAwardKind(a.myAwardEnum.gold);
                        n.
                    default.getInstance().showAwardTips({
                            name:
                            o,
                            num: 2 * e.num
                        },
                        "\u83b7\u5f97\u5956\u52b1")
                    }
                }),
                cc.adCtl.umengEvent("war_resultaward")
            },
            __decorate([p(cc.Label)], e.prototype, "levelInfo", void 0),
            __decorate([p(cc.Label)], e.prototype, "goldLabel", void 0),
            __decorate([p(cc.Node)], e.prototype, "awardContent", void 0),
            __decorate([p(cc.Node)], e.prototype, "expNode", void 0),
            __decorate([p(cc.Node)], e.prototype, "resultNode", void 0),
            __decorate([p(cc.Prefab)], e.prototype, "awardCardtNode", void 0),
            __decorate([h], e)
        } (cc.Component);
        o.
    default = f,
        cc._RF.pop()
    },
    {
        "../../control/ResManager": "ResManager",
        "../../data/shopConfig": "shopConfig",
        "../../utils/AudioMgr": "AudioMgr",
        "../../utils/Emitter": "Emitter",
        "../../utils/GameManager": "GameManager",
        "../../utils/myConfigManager": "myConfigManager",
        "../../utils/wyxTools": "wyxTools",
        "../TutorialEnum": "TutorialEnum"
    }],
    ReviveNode: [function(t, e, o) {
        "use strict";
        cc._RF.push(e, "c8a2eQSQvtO2Iu3Ph4oNr9b", "ReviveNode"),
        Object.defineProperty(o, "__esModule", {
            value: !0
        });
        var n = t("../../utils/AudioMgr"),
        i = t("../../utils/Emitter"),
        a = t("../../utils/GameManager"),
        r = cc._decorator,
        s = r.ccclass,
        c = r.property,
        l = function(t) {
            function e() {
                var e = null !== t && t.apply(this, arguments) || this;
                return e.downTimeLabel = null,
                e.downTimeProgressBar = null,
                e.reviveBtnList = [],
                e._curTime = 5,
                e._curReviveCount = 0,
                e
            }
            return __extends(e, t),
            e.prototype.start = function() {
                n.
            default.getInstance().playSFX("dead"),
                this.initView(),
                this.setDownTime()
            },
            e.prototype.setReviveCount = function(t) {
                this._curReviveCount = t
            },
            e.prototype.initView = function() {
                if (this.reviveBtnList[0].active = 1 == this._curReviveCount, this.reviveBtnList[1].active = this._curReviveCount > 1, this._curReviveCount > 1) {
                    var t = 50 * Math.pow(2, this._curReviveCount - 2);
                    t > 200 && (t = 200),
                    this.reviveBtnList[1].getChildByName("price").getComponent(cc.Label).string = t + ""
                }
            },
            e.prototype.setDownTime = function() {
                this._curTime = 5,
                this.downTimeUp(),
                this.schedule(this.downTimeUp, 1)
            },
            e.prototype.downTimeUp = function() {
                if (this.downTimeLabel.string = this._curTime + "", this._curTime <= 0) return this.unschedule(this.downTimeUp),
                void this.cancelReviveBtn(null, null);
                cc.tween(this.downTimeLabel.node).to(.3, {
                    scale: 1.5
                }).to(.3, {
                    scale: 1
                }).start(),
                this._curTime--,
                this.downTimeProgressBar.progress = (5 - this._curTime) / 5
            },
            e.prototype.videoReviveBtn = function() {
                n.
            default.getInstance().playButton(),
                this.unschedule(this.downTimeUp);
                var t = this;
                cc.adCtl.showVideo(function(e) {
                    1 == e ? (t.node.getComponent("windowOpenEffect").closePanel(), i.
                default.getInstance().emit("myGameControl", {
                        name: "doRevive"
                    })) : t.schedule(t.downTimeUp, 1)
                }),
                cc.adCtl.umengEvent("war_revive")
            },
            e.prototype.stoneReviveBtn = function() {
                n.
            default.getInstance().playButton(),
                this.unschedule(this.downTimeUp);
                var t = 50 * Math.pow(2, this._curReviveCount - 2);
                if (t > 200 && (t = 200), a.
            default.getInstance().expendStone(t)) this.node.getComponent("windowOpenEffect").closePanel(),
                i.
            default.getInstance().emit("myGameControl", {
                    name: "doRevive"
                });
                else {
                    var e = this;
                    a.
                default.getInstance().showToast("\u94bb\u77f3\u4e0d\u8db3", "\u63d0\u793a",
                    function() {
                        e.schedule(e.downTimeUp, 1)
                    })
                }
            },
            e.prototype.cancelReviveBtn = function() {
                n.
            default.getInstance().playButton(),
                this.node.getComponent("windowOpenEffect").closePanel(),
                i.
            default.getInstance().emit("myGameControl", {
                    name: "showResult"
                })
            },
            __decorate([c(cc.Label)], e.prototype, "downTimeLabel", void 0),
            __decorate([c(cc.ProgressBar)], e.prototype, "downTimeProgressBar", void 0),
            __decorate([c([cc.Node])], e.prototype, "reviveBtnList", void 0),
            __decorate([s], e)
        } (cc.Component);
        o.
    default = l,
        cc._RF.pop()
    },
    {
        "../../utils/AudioMgr": "AudioMgr",
        "../../utils/Emitter": "Emitter",
        "../../utils/GameManager": "GameManager"
    }],
    RuneNode: [function(t, e, o) {
        "use strict";
        cc._RF.push(e, "4263fXpctpHirqtqSV3VwmW", "RuneNode"),
        Object.defineProperty(o, "__esModule", {
            value: !0
        });
        var n = t("../../utils/AudioMgr"),
        i = t("../../utils/GameManager"),
        a = t("../../data/weaponConfig"),
        r = t("../../control/ResManager"),
        s = t("../../utils/Emitter"),
        c = t("../../utils/myConfigManager"),
        l = cc._decorator,
        d = l.ccclass,
        u = l.property,
        h = function(t) {
            function e() {
                var e = null !== t && t.apply(this, arguments) || this;
                return e.runeItemRoot = null,
                e.runeInfoRoot = null,
                e.runePriceLabel = null,
                e.glowShaderMtl = null,
                e.runeDownEffect = null,
                e._curList = [],
                e._curRecordData = null,
                e._curUnlockPrice = 0,
                e._showProInfo = {},
                e
            }
            return __extends(e, t),
            e.prototype.onLoad = function() {
                this._showProInfo[a.EquipPropertyEnum.hurt] = 1,
                this._showProInfo[a.EquipPropertyEnum.hp] = 2,
                this._showProInfo[a.EquipPropertyEnum.attackSpeed] = 3,
                this._showProInfo[a.EquipPropertyEnum.critRate] = 4,
                this._showProInfo[a.EquipPropertyEnum.movingSpeed] = 5,
                this._showProInfo[a.EquipPropertyEnum.hurtReduction] = 6;
                for (var t = 1; t < 7; t++) this.runeInfoRoot.getChildByName("info" + t).getComponent(cc.Label).string = "0"
            },
            e.prototype.onEnable = function() {
                s.
            default.getInstance().on("RuneState", this.runeState, this),
                this.initRune()
            },
            e.prototype.onDisable = function() {
                s.
            default.getInstance().off("RuneState", this),
                this._curRecordData = null
            },
            e.prototype.onDestroy = function() {
                s.
            default.getInstance().off("RuneState", this)
            },
            e.prototype.initRune = function() {
                this._curList = i.
            default.getInstance().getData("selfRuneSelect");
                for (var t = 0; t < this.runeItemRoot.childrenCount; t++) {
                    var e = this.runeItemRoot.getChildByName("rune" + (t + 1)),
                    o = e.getChildByName("Rune_lock1"),
                    n = e.getChildByName("openLock_ske");
                    if (!e.getComponent(cc.Button)) {
                        var s = e.addComponent(cc.Button),
                        c = new cc.Component.EventHandler;
                        c.target = this.node,
                        c.component = "RuneNode",
                        c.handler = "selectItemBtn",
                        c.customEventData = t + "",
                        s.clickEvents.push(c),
                        this.showGlowEffect(o)
                    }
                    o.scale = .8;
                    var l = this._curList[t];
                    if ("object" == typeof l) {
                        var d = a.RuneInfoConfig[l.kind].name + "_" + l.lv;
                        n.active = !1,
                        o.opacity = 255,
                        o.getComponent(cc.Sprite).spriteFrame = r.
                    default._instance.DropAward.getSpriteFrame(d),
                        o.getComponentInChildren(cc.Label).string = "lv." + l.lv
                    } else "number" == typeof l && 0 == l ? (n.active = !1, e.getChildByName("Rune_lock1").opacity = 0) : e.getChildByName("Rune_lock1").opacity = 0
                }
                this.showRuneInfo()
            },
            e.prototype.runeState = function(t) {
                "record" == t.name ? (this.showHightTips(!0), this._curRecordData = t.data) : "cancel" == t.name && (this.showHightTips(!1), this._curRecordData = null)
            },
            e.prototype.selectItemBtn = function(t, e) {
                n.
            default.getInstance().playButton();
                var o = this._curList[e];
                if (! ("number" == typeof o && o < 0)) {
                    var c = t.target.getChildByName("Rune_lock1");
                    if (null == this._curRecordData)"object" == typeof o && (c.opacity = 0, this._curList[e] = 0, i.
                default.getInstance().setData("selfRuneSelect", this._curList), s.
                default.getInstance().emit("selectItemState", {
                        name: "rune_cancel",
                        data: o
                    }));
                    else if (null != this._curRecordData) {
                        var l = a.RuneInfoConfig[this._curRecordData.kind].name + "_" + this._curRecordData.lv;
                        c.getComponent(cc.Sprite).spriteFrame = r.
                    default._instance.DropAward.getSpriteFrame(l),
                        c.opacity = 255,
                        c.getComponentInChildren(cc.Label).string = "lv." + this._curRecordData.lv,
                        c.scale = 3,
                        n.
                    default.getInstance().playSFX("set_sune"),
                        cc.tween(c).to(.2, {
                            scale: .6
                        },
                        {
                            easing: "cubicOut"
                        }).call(function() {}).to(.2, {
                            scale: .8
                        },
                        {
                            easing: "cubicIn"
                        }).start(),
                        this.scheduleOnce(function() {
                            var e = cc.instantiate(this.runeDownEffect);
                            e.active = !0,
                            e.scale = 2,
                            e.setPosition(cc.v2(0, 0)),
                            t.target.addChild(e)
                        },
                        .1),
                        "object" == typeof o && s.
                    default.getInstance().emit("selectItemState", {
                            name: "rune_cancel",
                            data: o
                        }),
                        this._curList[e] = this._curRecordData,
                        i.
                    default.getInstance().setData("selfRuneSelect", this._curList),
                        s.
                    default.getInstance().emit("selectItemState", {
                            name: "rune_equip",
                            data: o
                        }),
                        this._curRecordData = null,
                        this.showHightTips(!1)
                    }
                    this.showRuneInfo()
                }
            },
            e.prototype.showRuneInfo = function() {
                var t = this;
                i.
            default.getInstance().getRuneInfo().then(function(e) {
                    var o = new Array(6).fill(0);
                    for (var n in e) if (Object.prototype.hasOwnProperty.call(e, n)) {
                        var i = e[n],
                        a = t._showProInfo[n],
                        r = c.
                    default.getInstance().getTipsFromPro(parseInt(n), !1);
                        cc.js.formatStr(r, i),
                        t.runeInfoRoot.getChildByName("info" + a).getComponent("ScrollLabel").changeNum(i),
                        o[a - 1] = 1
                    }
                    for (var s = 1; s < 7; s++) 0 == o[s - 1] && t.runeInfoRoot.getChildByName("info" + s).getComponent("ScrollLabel").changeNum(0)
                }),
                this.upPriceState()
            },
            e.prototype.getHadUnlock = function() {
                var t = i.
            default.getInstance().getData("selfRuneSelect"),
                e = 0;
                return t.forEach(function(t) { - 1 != t && e++
                }),
                e
            },
            e.prototype.upPriceState = function() {
                var t = this.getHadUnlock();
                if (t >= 12) return this.runePriceLabel.string = "\u6700\u5927\u7b49\u7ea7",
                void(this.runePriceLabel.node.parent.getComponent(cc.Button).interactable = !1);
                var e = i.
            default.getInstance().getData("selfLv") - t;
                this._curUnlockPrice = 500 * (t + 1),
                e > 0 ? this.runePriceLabel.string = cc.js.formatStr("<color=#ffffff>\u89e3\u9501</color><img src='icon_powder' /><color=#ffffff>%s</color>", this._curUnlockPrice) : (this.runePriceLabel.string = "\u7b49\u7ea7\u4e0d\u8db3", this.runePriceLabel.node.parent.getComponent(cc.Button).interactable = !1)
            },
            e.prototype.unlockRuneBtn = function() {
                n.
            default.getInstance().playButton();
                var t = i.
            default.getInstance().getData("selfGold");
                if (this._curUnlockPrice <= t) {
                    t -= this._curUnlockPrice,
                    i.
                default.getInstance().setData("selfGold", t);
                    var e = this.getHadUnlock(),
                    o = i.
                default.getInstance().getData("selfRuneSelect");
                    o[e] = 0,
                    i.
                default.getInstance().setData("selfRuneSelect", o),
                    this.showUnlockEffect(e),
                    this.upPriceState()
                } else i.
            default.getInstance().showToast("\u53bb\u5546\u5e97\u8d2d\u4e70\uff1f", "\u5b9d\u77f3\u7c89\u4e0d\u8db3",
                function() {
                    s.
                default.getInstance().emit("onSelectNode", 0),
                    s.
                default.getInstance().emit("showUI", {
                        name: "shop",
                        index: 4
                    })
                })
            },
            e.prototype.showUnlockEffect = function(t) {
                var e = this,
                o = this.runeItemRoot.getChildByName("rune" + (t + 1));
                if (o) {
                    o.getChildByName("Rune_lock1").opacity = 0;
                    var i = o.getChildByName("openLock_ske");
                    i.getComponent(dragonBones.ArmatureDisplay).playAnimation("show", 1),
                    n.
                default.getInstance().playSFX("unlock_rune"),
                    cc.tween(o).delay(2).call(function() {
                        i.active = !1,
                        e.initRune()
                    }).start()
                } else this.initRune()
            },
            e.prototype.showHightTips = function(t) {
                var e = this;
                i.
            default.getInstance().getData("selfRuneSelect").forEach(function(o, n) {
                    var i = e.runeItemRoot.getChildByName("rune" + (n + 1)).getChildByName("light");
                    t && 0 == o ? (i.opacity = 0, i.active = t, cc.tween(i).to(1, {
                        opacity: 255
                    }).to(1, {
                        opacity: 0
                    }).union().repeatForever().start()) : (i.active = !1, i.stopAllActions())
                })
            },
            e.prototype.showGlowEffect = function(t) {
                t.getComponent(cc.RenderComponent).setMaterial(0, this.glowShaderMtl)
            },
            __decorate([u(cc.Node)], e.prototype, "runeItemRoot", void 0),
            __decorate([u(cc.Node)], e.prototype, "runeInfoRoot", void 0),
            __decorate([u(cc.RichText)], e.prototype, "runePriceLabel", void 0),
            __decorate([u(cc.Material)], e.prototype, "glowShaderMtl", void 0),
            __decorate([u(cc.Node)], e.prototype, "runeDownEffect", void 0),
            __decorate([d], e)
        } (cc.Component);
        o.
    default = h,
        cc._RF.pop()
    },
    {
        "../../control/ResManager": "ResManager",
        "../../data/weaponConfig": "weaponConfig",
        "../../utils/AudioMgr": "AudioMgr",
        "../../utils/Emitter": "Emitter",
        "../../utils/GameManager": "GameManager",
        "../../utils/myConfigManager": "myConfigManager"
    }],
    ScrollLabel: [function(t, e, o) {
        "use strict";
        cc._RF.push(e, "bd2eaLhm+FFYbFVYvPiHd1i", "ScrollLabel"),
        Object.defineProperty(o, "__esModule", {
            value: !0
        });
        var n = cc._decorator,
        i = n.ccclass,
        a = n.property,
        r = function(t) {
            function e() {
                var e = null !== t && t.apply(this, arguments) || this;
                return e.endSymbol = "",
                e.isPercentage = !1,
                e._curLabel = null,
                e._curNum = 0,
                e._recordAct = null,
                e
            }
            return __extends(e, t),
            e.prototype.onLoad = function() {
                this._curLabel = this.getComponent(cc.Label),
                this._curLabel.string = this._curNum + this.endSymbol
            },
            e.prototype.changeNum = function(t) {
                if (this._curNum != t) {
                    var e = {
                        a: this._curNum
                    },
                    o = this;
                    o._recordAct && o._recordAct.stop(),
                    o._recordAct = cc.tween(e).to(1, {
                        a: t
                    },
                    {
                        progress: function(t, e, n, i) {
                            var a;
                            return a = o.isPercentage ? Math.round(100 * n) / 100 + o.endSymbol: Math.round(n) + o.endSymbol,
                            o._curLabel.string = a,
                            t + (e - t) * i
                        }
                    }).call(function() {
                        o._curLabel.string = t + o.endSymbol,
                        o._recordAct = null
                    }),
                    o._recordAct.start(),
                    o._curNum = t
                }
            },
            __decorate([a], e.prototype, "endSymbol", void 0),
            __decorate([a], e.prototype, "isPercentage", void 0),
            __decorate([i], e)
        } (cc.Component);
        o.
    default = r,
        cc._RF.pop()
    },
    {}],
    SelectNode: [function(t, e, o) {
        "use strict";
        cc._RF.push(e, "2e8aeO7gK5BeZzaad2y2d6L", "SelectNode"),
        Object.defineProperty(o, "__esModule", {
            value: !0
        });
        var n = t("../../data/shopConfig"),
        i = t("../../utils/AudioMgr"),
        a = t("../../utils/Emitter"),
        r = t("../../utils/GameManager"),
        s = t("../../utils/myConfigManager"),
        c = t("../../utils/wyxTools"),
        l = t("../TutorialEnum"),
        d = cc._decorator,
        u = d.ccclass,
        h = (d.property,
        function(t) {
            function e() {
                var e = null !== t && t.apply(this, arguments) || this;
                return e.selectBtnArr = [],
                e
            }
            return __extends(e, t),
            e.prototype.onLoad = function() {
                this.selectBtnArr = this.node.children,
                this.setSelectBtn(this.selectBtnArr[2]),
                cc.winSize.width / cc.winSize.height >= 1.86 && (this.node.getComponent(cc.Widget).left = 60),
                this.scheduleOnce(function() {
                    r.
                default.getInstance().getTutorialData(l.TutorialEnum.step_to_shop1 - 1) ? a.
                default.getInstance().emit("touch_tutorial", {
                        step: l.TutorialEnum.step_to_shop1 - 1
                    }) : r.
                default.getInstance().getTutorialData(l.TutorialEnum.step_to_talent - 1) && a.
                default.getInstance().emit("touch_tutorial", {
                        step: l.TutorialEnum.step_to_talent - 1
                    })
                },
                1),
                this.schedule(function() {
                    this.upTelantData(),
                    this.upRuneData(),
                    this.upEquipData(),
                    cc.adCtl.testChannel(5) || this.upShopData()
                },
                1),
                a.
            default.getInstance().on("onSelectNode", this.onSelectNode, this)
            },
            e.prototype.onDestroy = function() {
                a.
            default.getInstance().off("onSelectNode", this)
            },
            e.prototype.onSelectNode = function(t) {
                this.setSelectBtn(this.selectBtnArr[t])
            },
            e.prototype.setSelectBtn = function(t) {
                this.selectBtnArr.forEach(function(e) {
                    var o = e.getChildByName("main_select_1");
                    e.stopAllActions(),
                    o.stopAllActions(),
                    e == t ? (cc.tween(e).to(.2, {
                        height: 234
                    }).start(), cc.tween(o).to(.2, {
                        height: 234
                    }).start(), o.active = !0) : (o.active = !1, 126 != e.height && (cc.tween(e).to(.2, {
                        height: 126
                    }).start(), cc.tween(o).to(.2, {
                        height: 126
                    }).start()))
                })
            },
            e.prototype.selectBtnCall = function(t, e) {
                switch (i.
            default.getInstance().playButton(), this.setSelectBtn(t.target), cc.adCtl.showNative(), parseInt(e)) {
                case 1:
                    a.
                default.getInstance().emit("showUI", {
                        name: "shop"
                    });
                    break;
                case 2:
                    a.
                default.getInstance().emit("showUI", {
                        name: "rune"
                    });
                    break;
                case 3:
                    a.
                default.getInstance().emit("showUI", {
                        name: "war"
                    });
                    break;
                case 4:
                    a.
                default.getInstance().emit("showUI", {
                        name: "equip"
                    });
                    break;
                case 5:
                    a.
                default.getInstance().emit("showUI", {
                        name: "telant"
                    })
                }
            },
            e.prototype.upShopData = function() {
                for (var t = 0,
                e = [600, 3600], o = 1; o < 3; o++) {
                    var n = Math.floor(.001 * (new Date).getTime()),
                    i = c.
                default.getIntData("timectl_time" + o),
                    a = c.
                default.getIntData("timectl_count" + o);
                    n - i > 300 && a <= 3 && t++;
                    var r = c.
                default.getIntData("downtime_key" + (o - 1));
                    e[o - 1] - (n - r) <= 0 && t++
                }
                var s = this.selectBtnArr[0].getChildByName("tips");
                s.active = t > 0,
                s.getComponentInChildren(cc.Label).string = t + ""
            },
            e.prototype.upEquipData = function() {
                for (var t = r.
            default.getInstance().getData("selfEquipSelect"), e = r.
            default.getInstance().getData("selfRealList"), o = 0, i = 0; i < t.length; i++) {
                    var a = t[i];
                    if ( - 1 != a && s.
                default.getInstance()._equipMaxLv != a.lv) {
                        var c = n.strengthenExpend.reel * a.lv;
                        c <= 0 && (c = 1);
                        var l = 0;
                        e.hasOwnProperty(a.kind) && (l = e[a.kind]),
                        c <= l && o++
                    }
                }
                var d = this.selectBtnArr[3].getChildByName("tips");
                d.active = o > 0,
                d.getComponentInChildren(cc.Label).string = o + ""
            },
            e.prototype.upTelantData = function() {
                for (var t = r.
            default.getInstance().getData("selfTelantList"), e = 0, o = 0; o < t.length; o++) e += t[o];
                var n = r.
            default.getInstance().getData("selfLv") - e,
                i = this.selectBtnArr[4].getChildByName("tips");
                i.active = n > 0,
                i.getComponentInChildren(cc.Label).string = n + ""
            },
            e.prototype.upRuneData = function() {
                var t = r.
            default.getInstance().getData("selfLv"),
                e = r.
            default.getInstance().getData("selfRuneSelect");
                t > e.length && (t = e.length),
                e.forEach(function(e) {
                    "object" == typeof e && t--
                });
                var o = this.selectBtnArr[1].getChildByName("tips");
                o.active = t > 0,
                o.getComponentInChildren(cc.Label).string = t + ""
            },
            __decorate([u], e)
        } (cc.Component));
        o.
    default = h,
        cc._RF.pop()
    },
    {
        "../../data/shopConfig": "shopConfig",
        "../../utils/AudioMgr": "AudioMgr",
        "../../utils/Emitter": "Emitter",
        "../../utils/GameManager": "GameManager",
        "../../utils/myConfigManager": "myConfigManager",
        "../../utils/wyxTools": "wyxTools",
        "../TutorialEnum": "TutorialEnum"
    }],
    SettingNode: [function(t, e, o) {
        "use strict";
        cc._RF.push(e, "f290dzpFfpFUK7Uk4qUfwQ9", "SettingNode"),
        Object.defineProperty(o, "__esModule", {
            value: !0
        });
        var n = t("../../utils/AudioMgr"),
        i = cc._decorator,
        a = i.ccclass,
        r = i.property,
        s = function(t) {
            function e() {
                var e = null !== t && t.apply(this, arguments) || this;
                return e.soundToggle = null,
                e.effectToggle = null,
                e.shockToggle = null,
                e
            }
            return __extends(e, t),
            e.prototype.onLoad = function() {
                this.soundToggle.isChecked = 1 == n.
            default.getInstance().getbgmSwitch(),
                this.shockToggle.isChecked = 1 == n.
            default.getInstance().getShockSwitch(),
                this.effectToggle && (this.effectToggle.isChecked = 1 == n.
            default.getInstance().getEffectSwitch())
            },
            e.prototype.closeBtn = function() {
                n.
            default.getInstance().playButton(),
                this.node.getComponent("windowOpenEffect").closePanel()
            },
            e.prototype.soundToggleCall = function(t) {
                n.
            default.getInstance().setbgmSwitch(t.isChecked ? 1 : 0)
            },
            e.prototype.effectToggleCall = function(t) {
                n.
            default.getInstance().setEffectSwitch(t.isChecked ? 1 : 0)
            },
            e.prototype.shockToggleCall = function(t) {
                n.
            default.getInstance().setShockSwitch(t.isChecked ? 1 : 0)
            },
            __decorate([r(cc.Toggle)], e.prototype, "soundToggle", void 0),
            __decorate([r(cc.Toggle)], e.prototype, "effectToggle", void 0),
            __decorate([r(cc.Toggle)], e.prototype, "shockToggle", void 0),
            __decorate([a], e)
        } (cc.Component);
        o.
    default = s,
        cc._RF.pop()
    },
    {
        "../../utils/AudioMgr": "AudioMgr"
    }],
    ShareNode: [function(t, e, o) {
        "use strict";
        cc._RF.push(e, "3fe5fQkg8JObpMPcfhPGP+f", "ShareNode"),
        Object.defineProperty(o, "__esModule", {
            value: !0
        });
        var n = t("../../data/shopConfig"),
        i = t("../../utils/AudioMgr"),
        a = t("../../utils/GameManager"),
        r = cc._decorator,
        s = r.ccclass,
        c = (r.property,
        function(t) {
            function e() {
                return null !== t && t.apply(this, arguments) || this
            }
            return __extends(e, t),
            e.prototype.start = function() {},
            e.prototype.closeBtn = function() {
                i.
            default.getInstance().playButton(),
                this.node.getComponent("windowOpenEffect").closePanel()
            },
            e.prototype.doShareBtn = function() {
                i.
            default.getInstance().playButton();
                var t = this;
                cc.adCtl.shareGame(function() {
                    t.node.getComponent("windowOpenEffect").closePanel(),
                    a.
                default.getInstance().getAwardsByKind({
                        awardId:
                        n.myAwardEnum.stone,
                        num: 300
                    })
                })
            },
            __decorate([s], e)
        } (cc.Component));
        o.
    default = c,
        cc._RF.pop()
    },
    {
        "../../data/shopConfig": "shopConfig",
        "../../utils/AudioMgr": "AudioMgr",
        "../../utils/GameManager": "GameManager"
    }],
    ShopCtlNode: [function(t, e, o) {
        "use strict";
        cc._RF.push(e, "9c464aPgg5MgoBdf/CaTsYg", "ShopCtlNode"),
        Object.defineProperty(o, "__esModule", {
            value: !0
        });
        var n = t("../../utils/AudioMgr"),
        i = t("../../utils/wyxTools"),
        a = cc._decorator,
        r = a.ccclass,
        s = a.property,
        c = function(t) {
            function e() {
                var e = null !== t && t.apply(this, arguments) || this;
                return e.showView = [],
                e.titleName = null,
                e.toggleRoot = null,
                e
            }
            return __extends(e, t),
            e.prototype.onLoad = function() {
                this.schedule(function() {
                    cc.adCtl.testChannel(5) || this.refreshVideoTips()
                },
                1)
            },
            e.prototype.onEnable = function() {
                var t = this;
                this.toggleRoot.children.forEach(function(e, o) {
                    t.showView[o] && (t.titleName.string = e.getComponentInChildren(cc.Label).string, t.showView[o].active = e.getComponent(cc.Toggle).isChecked)
                })
            },
            e.prototype.selectItemCall = function(t, e) {
                n.
            default.getInstance().playButton(),
                cc.adCtl.showNative(),
                this.titleName.string = t.node.getComponentInChildren(cc.Label).string,
                this.showView.forEach(function(t, o) {
                    t && (t.active = o == parseInt(e))
                })
            },
            e.prototype.jumpToNode = function(t) {
                var e = this;
                this.toggleRoot.children.forEach(function(o, n) {
                    e.titleName.string = o.getComponentInChildren(cc.Label).string,
                    e.showView[n].active = n == t,
                    o.getComponent(cc.Toggle).isChecked = n == t
                })
            },
            e.prototype.refreshVideoTips = function() {
                for (var t = 0,
                e = !1,
                o = !1,
                n = [600, 3600], a = 1; a < 3; a++) {
                    var r = Math.floor(.001 * (new Date).getTime()),
                    s = i.
                default.getIntData("timectl_time" + a),
                    c = i.
                default.getIntData("timectl_count" + a);
                    r - s > 300 && c <= 3 && (1 == a && (o = !0), 2 == a && (e = !0));
                    var l = i.
                default.getIntData("downtime_key" + (a - 1));
                    n[a - 1] - (r - l) <= 0 && t++
                }
                var d = this.toggleRoot.children[0].getChildByName("tips");
                d.active = t > 0,
                d.getComponentInChildren(cc.Label).string = t + "";
                var u = this.toggleRoot.children[2].getChildByName("tips");
                u.active = e,
                u.getComponentInChildren(cc.Label).string = "1";
                var h = this.toggleRoot.children[3].getChildByName("tips");
                h.active = o,
                h.getComponentInChildren(cc.Label).string = "1"
            },
            __decorate([s([cc.Node])], e.prototype, "showView", void 0),
            __decorate([s(cc.Label)], e.prototype, "titleName", void 0),
            __decorate([s(cc.Node)], e.prototype, "toggleRoot", void 0),
            __decorate([r], e)
        } (cc.Component);
        o.
    default = c,
        cc._RF.pop()
    },
    {
        "../../utils/AudioMgr": "AudioMgr",
        "../../utils/wyxTools": "wyxTools"
    }],
    ShopEquipNode: [function(t, e, o) {
        "use strict";
        cc._RF.push(e, "93a0fkMCEhB4a1dnCtlXOxn", "ShopEquipNode"),
        Object.defineProperty(o, "__esModule", {
            value: !0
        });
        var n = t("../../data/shopConfig"),
        i = t("../../utils/AudioMgr"),
        a = t("../../utils/GameManager"),
        r = t("../../utils/myConfigManager"),
        s = t("../TutorialEnum"),
        c = cc._decorator,
        l = c.ccclass,
        d = c.property,
        u = function(t) {
            function e() {
                var e = null !== t && t.apply(this, arguments) || this;
                return e.keyNumLabel = [],
                e.downTimeLabel = [],
                e.priceLabel = [],
                e.openBtnNode = [],
                e.videoBtnNode = [],
                e._defaultState = [600, 3600],
                e._freeState = [0, 0],
                e._priceList = [100, 200],
                e._clickDelay = !1,
                e
            }
            return __extends(e, t),
            e.prototype.onLoad = function() {
                this.schedule(function() {
                    this.upDownTime()
                },
                1)
            },
            e.prototype.onEnable = function() {
                this._clickDelay = !1,
                this.refreshView(),
                this.upDownTime()
            },
            e.prototype.refreshView = function() {
                for (var t = a.
            default.getInstance().getData("selfOwnKey"), e = Math.floor(.001 * (new Date).getTime()), o = 0; o < 2; o++) if (this.keyNumLabel[o].string = t[o] + "", t[o] > 0) this.priceLabel[o].string = "\u5f00\u542f",
                this.videoBtnNode[o].node.active = !1,
                this.openBtnNode[o].node.active = !this.videoBtnNode[o].node.active;
                else {
                    this.priceLabel[o].string = cc.js.formatStr("<img src='icon_coin' /><color=#ffffff>%s</color>", this._priceList[o]);
                    var n = cc.sys.localStorage.getItem("downtime_key" + o);
                    if (n) {
                        var i = e - parseInt(n),
                        r = this._defaultState[o] - i;
                        this._freeState[o] = r > 0 ? r: 0
                    } else this._freeState[o] = 0;
                    this.downTimeLabel[o].node.parent.active = this._freeState[o] > 0,
                    cc.adCtl.testChannel(5) && 0 == o ? this.videoBtnNode[o].node.active = !1 : cc.adCtl.testM4399T() ? this.videoBtnNode[o].node.active = this._freeState[o] <= 0 : this.videoBtnNode[o].node.active = !1,
                    this.openBtnNode[o].node.active = !this.videoBtnNode[o].node.active
                }
            },
            e.prototype.upDownTime = function() {
                for (var t = 0; t < this._freeState.length; t++) if (this._freeState[t] > 0) {
                    this._freeState[t]--;
                    var e = this._freeState[t],
                    o = Math.floor(e / 60),
                    n = Math.floor(o / 60),
                    i = Math.floor(e % 60),
                    a = n >= 10 ? n + "": "0" + n,
                    r = o >= 10 ? o + "": "0" + o,
                    s = i >= 10 ? i + "": "0" + i;
                    this.downTimeLabel[t].string = a + ":" + r + ":" + s,
                    this._freeState[t] <= 0 && this.refreshView()
                }
            },
            e.prototype.openEquipBox = function(t, e) {
                if (!this._clickDelay) {
                    this._clickDelay = !0,
                    this.scheduleOnce(function() {
                        this._clickDelay = !1
                    },
                    .2),
                    i.
                default.getInstance().playButton();
                    var o = a.
                default.getInstance().getData("selfPackCap")[1];
                    if (o <= a.
                default.getInstance().getData("selfEquipList").length) o >= r.
                default.getInstance()._maxPackCap ? a.
                default.getInstance().showToast("\u88c5\u5907\u4ed3\u5e93\u5df2\u6ee1"):
                    a.
                default.getInstance().getMyPrefab("viewPrefabs/addGridNode").then(function(t) {
                        var e = cc.instantiate(t);
                        e.getComponent("addGridNode").setTitle("\u88c5\u5907\u7a7a\u95f4\u4e0d\u8db3"),
                        e.getComponent("addGridNode").setKind(1),
                        cc.find("Canvas").addChild(e)
                    });
                    else {
                        var n = a.
                    default.getInstance().getData("selfOwnKey");
                        n[parseInt(e)] > 0 ? (n[parseInt(e)]--, a.
                    default.getInstance().setData("selfOwnKey", n), this.getEquipAward(e)) : a.
                    default.getInstance().expendStone(this._priceList[parseInt(e)]) ? this.getEquipAward(e) : a.
                    default.getInstance().showToast("\u94bb\u77f3\u4e0d\u8db3"),
                        this.refreshView()
                    }
                }
            },
            e.prototype.videoEquipBox = function(t, e) {
                i.
            default.getInstance().playButton();
                var o = this;
                cc.adCtl.showVideo(function(t) {
                    if (1 == t) {
                        o.getEquipAward(e);
                        var n = Math.floor(.001 * (new Date).getTime());
                        cc.sys.localStorage.setItem("downtime_key" + e, n),
                        o.refreshView(),
                        o.upDownTime()
                    }
                }),
                cc.adCtl.umengEvent("home_equip" + (parseInt(e) + 1))
            },
            e.prototype.getEquipAward = function(t) {
                var e = r.
            default.getInstance().getRandomWeaponFull(0 == t ? "key1": "key2");
                a.
            default.getInstance().getTutorialData(s.TutorialEnum.step_to_shop1 - 1, s.TutorialEnum.step_to_shop3 + 1) && (e = r.
            default.getInstance().getWeaponByKind(n.myAwardEnum.accessories, 1, 1, 5)),
                a.
            default.getInstance().getAwardsByKind({
                    awardId:
                    e.kind,
                    data: e
                },
                !1),
                a.
            default.getInstance().getMyPrefab("viewPrefabs/openBoxEffect").then(function(o) {
                    var i = cc.instantiate(o);
                    i.getComponent("openBoxEffect").setBoxKind(0 == t ? 1 : 0),
                    i.getComponent("openBoxEffect").setAwardKind(n.myAwardEnum.weapon, e),
                    cc.find("Canvas").addChild(i)
                })
            },
            __decorate([d([cc.Label])], e.prototype, "keyNumLabel", void 0),
            __decorate([d([cc.Label])], e.prototype, "downTimeLabel", void 0),
            __decorate([d([cc.RichText])], e.prototype, "priceLabel", void 0),
            __decorate([d([cc.Button])], e.prototype, "openBtnNode", void 0),
            __decorate([d([cc.Button])], e.prototype, "videoBtnNode", void 0),
            __decorate([l], e)
        } (cc.Component);
        o.
    default = u,
        cc._RF.pop()
    },
    {
        "../../data/shopConfig": "shopConfig",
        "../../utils/AudioMgr": "AudioMgr",
        "../../utils/GameManager": "GameManager",
        "../../utils/myConfigManager": "myConfigManager",
        "../TutorialEnum": "TutorialEnum"
    }],
    ShopRealNode: [function(t, e, o) {
        "use strict";
        cc._RF.push(e, "8e716ugGkNF965fvY5l6ZID", "ShopRealNode"),
        Object.defineProperty(o, "__esModule", {
            value: !0
        });
        var n = t("../../data/shopConfig"),
        i = t("../../utils/myConfigManager"),
        a = t("../../control/ResManager"),
        r = t("../../utils/GameManager"),
        s = t("../../utils/AudioMgr"),
        c = t("../../utils/Emitter"),
        l = cc._decorator,
        d = l.ccclass,
        u = l.property,
        h = function(t) {
            function e() {
                var e = null !== t && t.apply(this, arguments) || this;
                return e.itemRoot = [],
                e.downTimeLabel = null,
                e._clickDelay = !1,
                e._refreshTime = 3600,
                e._curTime = 0,
                e._buyList = [],
                e._numList = [5, 10, 15, 20, 25],
                e._kindList = [n.myAwardEnum.weaponReel, n.myAwardEnum.clothesReel, n.myAwardEnum.shoeReel, n.myAwardEnum.glovesReel, n.myAwardEnum.accessoriesReel],
                e
            }
            return __extends(e, t),
            e.prototype.start = function() {
                var t = this;
                this.itemRoot.forEach(function(e, o) {
                    var n = e.getComponentInChildren(cc.Button),
                    i = new cc.Component.EventHandler;
                    i.target = t.node,
                    i.component = "ShopRealNode",
                    i.handler = "buyBtnCall",
                    i.customEventData = "" + o,
                    n.clickEvents.push(i)
                }),
                this.schedule(function() {
                    this.upDownTime()
                },
                1)
            },
            e.prototype.onEnable = function() {
                this._clickDelay = !1,
                this.refreshView(),
                this.upDownTime()
            },
            e.prototype.randBuyList = function() {
                this._buyList = [];
                for (var t = 0; t < 3; t++) {
                    var e = Math.floor(Math.random() * this._numList.length),
                    o = Math.floor(Math.random() * this._kindList.length),
                    n = 0,
                    i = 100 * Math.random() > 50 ? 1 : 0;
                    n = 1 == i ? 5 * this._numList[e] : 200 * this._numList[e];
                    var a = 0;
                    if (100 * Math.random() < 30) {
                        for (var r = 55 * Math.random(), s = 0, c = 10; c > 0; c--) if ((r -= c) <= 0) {
                            s = c;
                            break
                        }
                        a = 5 * (10 - s),
                        n = Math.round((1 - .01 * a) * n)
                    }
                    this._buyList.push({
                        kind: this._kindList[o],
                        num: this._numList[e],
                        payKind: i,
                        priceNum: n,
                        discount: a,
                        isBuy: !1
                    })
                }
                cc.sys.localStorage.setItem("shopReal_data", JSON.stringify(this._buyList))
            },
            e.prototype.refreshView = function() {
                var t = this,
                e = Math.floor(.001 * (new Date).getTime()),
                o = cc.sys.localStorage.getItem("downtime_real");
                if (o) {
                    var n = e - parseInt(o);
                    if (this._curTime = this._refreshTime - n, this._curTime <= 0) cc.sys.localStorage.setItem("downtime_real", e),
                    this._curTime = this._refreshTime,
                    this.randBuyList();
                    else {
                        var r = cc.sys.localStorage.getItem("shopReal_data");
                        r ? this._buyList = JSON.parse(r) : this.randBuyList()
                    }
                } else cc.sys.localStorage.setItem("downtime_real", e),
                this._curTime = this._refreshTime,
                this.randBuyList();
                this.itemRoot.forEach(function(e, o) {
                    var n = e.getChildByName("icon"),
                    r = i.
                default.getInstance().getNameByAwardKind(t._buyList[o].kind);
                    n.getComponent(cc.Sprite).spriteFrame = a.
                default._instance.DropAward.getSpriteFrame(r),
                    e.getChildByName("num").getComponent(cc.Label).string = t._buyList[o].num;
                    var s = e.getComponentInChildren(cc.RichText),
                    c = e.getComponentInChildren(cc.Button),
                    l = e.getChildByName("discount");
                    t._buyList[o].isBuy ? (c.interactable = !1, s.string = "<color=#ffffff>\u552e\u7f44</color>", l.active = !1) : (c.interactable = !0, 1 == t._buyList[o].payKind ? s.string = cc.js.formatStr("<img src='icon_coin' /><color=#ffffff>%s</color>", t._buyList[o].priceNum) : s.string = cc.js.formatStr("<img src='icon_powder' /><color=#ffffff>%s</color>", t._buyList[o].priceNum), t._buyList[o].discount > 0 ? (l.active = !0, l.getComponentInChildren(cc.Label).string = "-" + t._buyList[o].discount + "%", l.stopAllActions(), cc.tween(l).repeatForever(cc.sequence(cc.scaleTo(.1, 1.2, 1.2), cc.scaleTo(.1, 1.3, 1), cc.scaleTo(.1, .9, .9), cc.scaleTo(.1, 1, 1), cc.delayTime(1 + Math.random() + 2))).start()) : l.active = !1)
                })
            },
            e.prototype.upDownTime = function() {
                if (this._curTime > 0) {
                    this._curTime--;
                    var t = this._curTime,
                    e = Math.floor(t / 60),
                    o = Math.floor(e / 60),
                    n = Math.floor(t % 60),
                    i = o >= 10 ? o + "": "0" + o,
                    a = e >= 10 ? e + "": "0" + e,
                    r = n >= 10 ? n + "": "0" + n;
                    if (this.downTimeLabel.string = i + ":" + a + ":" + r, this._curTime <= 0) {
                        var s = Math.floor(.001 * (new Date).getTime());
                        cc.sys.localStorage.setItem("downtime_real", s),
                        this._curTime = this._refreshTime,
                        this.randBuyList(),
                        this.refreshView()
                    }
                }
            },
            e.prototype.buyBtnCall = function(t, e) {
                if (!this._clickDelay) {
                    this._clickDelay = !0,
                    this.scheduleOnce(function() {
                        this._clickDelay = !1
                    },
                    .2),
                    s.
                default.getInstance().playButton();
                    var o = this._buyList[parseInt(e)]; (0 == o.payKind ? r.
                default.getInstance().expendGold(o.priceNum):
                    r.
                default.getInstance().expendStone(o.priceNum)) ? (o.isBuy || (this._buyList[parseInt(e)].isBuy = !0), cc.sys.localStorage.setItem("shopReal_data", JSON.stringify(this._buyList)), r.
                default.getInstance().getAwardsByKind({
                        awardId:
                        o.kind,
                        num: o.num
                    }), this.refreshView()) : 0 == o.payKind ? r.
                default.getInstance().showToast("\u53bb\u5546\u5e97\u8d2d\u4e70\uff1f", "\u5b9d\u77f3\u7c89\u4e0d\u8db3",
                    function() {
                        c.
                    default.getInstance().emit("onSelectNode", 0),
                        c.
                    default.getInstance().emit("showUI", {
                            name: "shop",
                            index: 4
                        })
                    }) : r.
                default.getInstance().showToast("\u94bb\u77f3\u4e0d\u8db3")
                }
            },
            e.prototype.videoRefreshBtn = function() {
                var t = this;
                s.
            default.getInstance().playButton(),
                cc.adCtl.showVideo(function(e) {
                    1 == e && (t.randBuyList(), t.refreshView())
                }),
                cc.adCtl.umengEvent("home_reel")
            },
            __decorate([u([cc.Node])], e.prototype, "itemRoot", void 0),
            __decorate([u(cc.Label)], e.prototype, "downTimeLabel", void 0),
            __decorate([d], e)
        } (cc.Component);
        o.
    default = h,
        cc._RF.pop()
    },
    {
        "../../control/ResManager": "ResManager",
        "../../data/shopConfig": "shopConfig",
        "../../utils/AudioMgr": "AudioMgr",
        "../../utils/Emitter": "Emitter",
        "../../utils/GameManager": "GameManager",
        "../../utils/myConfigManager": "myConfigManager"
    }],
    ShopRuneNode: [function(t, e, o) {
        "use strict";
        cc._RF.push(e, "cbe735zfIJFya14fspsO2cQ", "ShopRuneNode"),
        Object.defineProperty(o, "__esModule", {
            value: !0
        });
        var n = t("../../utils/GameManager"),
        i = t("../../data/weaponConfig"),
        a = t("../../data/shopConfig"),
        r = t("../../utils/myConfigManager"),
        s = cc._decorator,
        c = s.ccclass,
        l = (s.property,
        function(t) {
            function e() {
                var e = null !== t && t.apply(this, arguments) || this;
                return e._clickDelay = !1,
                e
            }
            return __extends(e, t),
            e.prototype.onEnable = function() {
                this._clickDelay = !1
            },
            e.prototype.buyRuneBtnCall = function(t, e) {
                if (!this._clickDelay) {
                    this._clickDelay = !0,
                    this.scheduleOnce(function() {
                        this._clickDelay = !1
                    },
                    .2);
                    var o = n.
                default.getInstance().getData("selfPackCap")[0];
                    if (o <= n.
                default.getInstance().getData("selfRuneList").length) o >= r.
                default.getInstance()._maxPackCap ? n.
                default.getInstance().showToast("\u7b26\u6587\u4ed3\u5e93\u5df2\u6ee1"):
                    n.
                default.getInstance().getMyPrefab("viewPrefabs/addGridNode").then(function(t) {
                        var e = cc.instantiate(t);
                        e.getComponent("addGridNode").setTitle("\u7b26\u6587\u7a7a\u95f4\u4e0d\u8db3"),
                        e.getComponent("addGridNode").setKind(0),
                        cc.find("Canvas").addChild(e)
                    });
                    else if (1 == e) {
                        for (var s = [], c = 0; c < 4; c++) {
                            var l = Math.floor(Math.random() * i.RuneInfoConfig.length);
                            s.push({
                                awardId: a.myAwardEnum.rune,
                                data: {
                                    kind: l,
                                    lv: 1
                                }
                            })
                        }
                        this.getRunAward(s, e)
                    } else if (2 == e) if (n.
                default.getInstance().expendStone(50)) {
                        for (s = [], c = 0; c < 4; c++) l = Math.floor(Math.random() * i.RuneInfoConfig.length),
                        s.push({
                            awardId: a.myAwardEnum.rune,
                            data: {
                                kind: l,
                                lv: 3
                            }
                        });
                        this.getRunAward(s, e)
                    } else n.
                default.getInstance().showToast("\u94bb\u77f3\u4e0d\u8db3");
                    else if (3 == e) if (n.
                default.getInstance().expendStone(200)) {
                        for (s = [], c = 0; c < 4; c++) l = Math.floor(Math.random() * i.RuneInfoConfig.length),
                        s.push({
                            awardId: a.myAwardEnum.rune,
                            data: {
                                kind: l,
                                lv: 5
                            }
                        });
                        this.getRunAward(s, e)
                    } else n.
                default.getInstance().showToast("\u94bb\u77f3\u4e0d\u8db3");
                    else if (4 == e) if (n.
                default.getInstance().expendStone(700)) {
                        for (s = [], c = 0; c < 4; c++) l = Math.floor(Math.random() * i.RuneInfoConfig.length),
                        s.push({
                            awardId: a.myAwardEnum.rune,
                            data: {
                                kind: l,
                                lv: 7
                            }
                        });
                        this.getRunAward(s, e)
                    } else n.
                default.getInstance().showToast("\u94bb\u77f3\u4e0d\u8db3")
                }
            },
            e.prototype.buyGoldBtnCall = function(t, e) {
                this._clickDelay || (this._clickDelay = !0, this.scheduleOnce(function() {
                    this._clickDelay = !1
                },
                .2), 1 == e || (2 == e ? n.
            default.getInstance().expendStone(10) ? n.
            default.getInstance().getAwardsByKind({
                    awardId:
                    a.myAwardEnum.gold,
                    num: 1e3
                },
                !0) : n.
            default.getInstance().showToast("\u94bb\u77f3\u4e0d\u8db3"):
                3 == e ? n.
            default.getInstance().expendStone(90) ? n.
            default.getInstance().getAwardsByKind({
                    awardId:
                    a.myAwardEnum.gold,
                    num: 1e4
                },
                !0) : n.
            default.getInstance().showToast("\u94bb\u77f3\u4e0d\u8db3"):
                4 == e && (n.
            default.getInstance().expendStone(800) ? n.
            default.getInstance().getAwardsByKind({
                    awardId:
                    a.myAwardEnum.gold,
                    num: 1e5
                },
                !0) : n.
            default.getInstance().showToast("\u94bb\u77f3\u4e0d\u8db3"))))
            },
            e.prototype.getRunAward = function(t, e) {
                var o = n.
            default.getInstance().getAwardsByKind(t, !1);
                o && n.
            default.getInstance().getMyPrefab("viewPrefabs/openBoxEffect").then(function(t) {
                    var n = cc.instantiate(t);
                    n.getComponent("openBoxEffect").setBoxKind(e),
                    n.getComponent("openBoxEffect").setAwardKind(a.myAwardEnum.rune, o),
                    cc.find("Canvas").addChild(n)
                })
            },
            __decorate([c], e)
        } (cc.Component));
        o.
    default = l,
        cc._RF.pop()
    },
    {
        "../../data/shopConfig": "shopConfig",
        "../../data/weaponConfig": "weaponConfig",
        "../../utils/GameManager": "GameManager",
        "../../utils/myConfigManager": "myConfigManager"
    }],
    ShowBanner: [function(t, e) {
        "use strict";
        cc._RF.push(e, "2c31dJqY1dCvJdIUfQIZUI1", "ShowBanner"),
        cc.Class({
            extends: cc.Component,
            properties: {},
            onEnable: function() {
                cc.adCtl.showBanner()
            },
            onDisable: function() {
                cc.adCtl.hideBanner()
            },
            onDestroy: function() {
                cc.adCtl.hideBanner()
            }
        }),
        cc._RF.pop()
    },
    {}],
    SkillArrowRain: [function(t, e, o) {
        "use strict";
        cc._RF.push(e, "9e233CaruFBo4HTZ5rCi7Nw", "SkillArrowRain"),
        Object.defineProperty(o, "__esModule", {
            value: !0
        });
        var n = t("../../utils/Emitter"),
        i = t("../../utils/GameManager"),
        a = t("./SkillBase"),
        r = cc._decorator,
        s = r.ccclass,
        c = r.property,
        l = function(t) {
            function e() {
                var e = null !== t && t.apply(this, arguments) || this;
                return e.lightRoot = null,
                e.lightNode = null,
                e.arrowNode = null,
                e.crackRoot = null,
                e.fireRoot = null,
                e.fireNode = null,
                e.boxCol = null,
                e._range = 100,
                e
            }
            return __extends(e, t),
            e.prototype.onLoad = function() {},
            e.prototype.onEnable = function() {
                var t = this;
                this.node.setPosition(this.toPos),
                this._range = this.node.width,
                n.
            default.getInstance().emit("attackWarning", {
                    width: this._range,
                    pos: this.toPos
                }),
                this.crackRoot.stopAllActions(),
                this.crackRoot.opacity = 0,
                this.crackRoot.scale = 0,
                this.boxCol.enabled = !1,
                cc.tween(this.node).delay(1).call(function() {
                    t.doStart()
                }).start()
            },
            e.prototype.doStart = function() {
                var t = this;
                cc.tween(this.node).call(function() {
                    t.boxCol.enabled = !t.boxCol.enabled
                }).delay(.3).union().repeat(10).start(),
                cc.tween(this.crackRoot).to(.5, {
                    scale: 1,
                    opacity: 255
                }).delay(3).call(function() {
                    t.boxCol.enabled = !1,
                    t.unschedule(t.doShoot),
                    t.doEnd()
                }).start(),
                this.schedule(this.doShoot, .1)
            },
            e.prototype.doEnd = function() {
                var t = this;
                cc.tween(this.crackRoot).to(3, {
                    opacity: 0
                }).delay(3).call(function() {
                    t.doMyClear()
                }).start()
            },
            e.prototype.doShoot = function() {
                i.
            default.getInstance()._isGamePause || (this.lightNode && this.showLight(), this.arrowNode && this.showArrow())
            },
            e.prototype.showLight = function() {
                var t = cc.instantiate(this.lightNode);
                t.active = !0,
                t.setPosition(this.getCurPos()),
                this.lightRoot.addChild(t),
                t.width = cc.winSize.height,
                t.height = 100 * Math.random() + 100,
                cc.tween(t).to(.2, {
                    height: 5,
                    y: -100
                }).delay(.1).call(function() {
                    t.removeFromParent(),
                    t.destroy()
                }).start()
            },
            e.prototype.showArrow = function() {
                var t = this,
                e = cc.instantiate(this.arrowNode),
                o = e.getComponent(cc.Sprite);
                e.active = !0,
                e.setPosition(this.getCurPos()),
                this.lightRoot.addChild(e);
                var n = 80 * Math.random() - 100;
                cc.tween(e).to(.1, {
                    y: n
                }).call(function() {
                    t.showFire(e.getPosition()),
                    t.showFire(e.getPosition()),
                    o.fillRange = .2 * Math.random() + .4
                }).delay(2).to(.5, {
                    opacity: 0
                }).call(function() {
                    e.removeFromParent(),
                    e.destroy()
                }).start()
            },
            e.prototype.showFire = function(t) {
                var e = t.clone(),
                o = cc.instantiate(this.fireNode);
                o.active = !0,
                e.y += 70 * Math.random() + 20,
                o.angle = 90 * -Math.random() + 45,
                o.setPosition(e),
                this.fireRoot.addChild(o),
                Math.random(),
                cc.tween(o).delay(.3).call(function() {
                    o.removeFromParent(),
                    o.destroy()
                }).start()
            },
            e.prototype.getCurPos = function() {
                var t = Math.random() * this._range - .5 * this._range,
                e = Math.random() * cc.winSize.height * .4 + .4 * cc.winSize.height;
                return cc.v2(t, e)
            },
            __decorate([c(cc.Node)], e.prototype, "lightRoot", void 0),
            __decorate([c(cc.Node)], e.prototype, "lightNode", void 0),
            __decorate([c(cc.Node)], e.prototype, "arrowNode", void 0),
            __decorate([c(cc.Node)], e.prototype, "crackRoot", void 0),
            __decorate([c(cc.Node)], e.prototype, "fireRoot", void 0),
            __decorate([c(cc.Node)], e.prototype, "fireNode", void 0),
            __decorate([c(cc.BoxCollider)], e.prototype, "boxCol", void 0),
            __decorate([s], e)
        } (a.
    default);
        o.
    default = l,
        cc._RF.pop()
    },
    {
        "../../utils/Emitter": "Emitter",
        "../../utils/GameManager": "GameManager",
        "./SkillBase": "SkillBase"
    }],
    SkillBase: [function(t, e, o) {
        "use strict";
        cc._RF.push(e, "5d02eSH/T9BprIGsjbFlzH9", "SkillBase"),
        Object.defineProperty(o, "__esModule", {
            value: !0
        });
        var n = t("../../data/enemyInfoEnum"),
        i = t("../../utils/Emitter"),
        a = cc._decorator,
        r = a.ccclass,
        s = a.property,
        c = function(t) {
            function e() {
                var e = null !== t && t.apply(this, arguments) || this;
                return e.toPos = cc.v2(),
                e.isAllHit = !0,
                e.hitTime = 1,
                e.myEffectKind = n.effectManagerKind.none,
                e.maxDis = 400,
                e.hitHurt = 10,
                e.bulletManager = null,
                e.trailNode = null,
                e._isSkillActive = !0,
                e._kind = 1,
                e._isKeep = !1,
                e
            }
            return __extends(e, t),
            e.prototype.reuse = function(t) {
                this.bulletManager = t
            },
            e.prototype.doMyClear = function() {
                this._isKeep || (this.trailNode && i.
            default.getInstance().emit("Recycle_trail", {
                    node: this.trailNode
                }), this.bulletManager ? (this.node.stopAllActions(), this.node.angle = 0, this.bulletManager.put(this.node)) : (this.node.removeFromParent(), this.node.destroy()))
            },
            e.prototype.lateUpdate = function() {
                this.trailNode && this.trailNode.setPosition(this.node.getPosition())
            },
            __decorate([s(cc.Vec2)], e.prototype, "toPos", void 0),
            __decorate([s], e.prototype, "isAllHit", void 0),
            __decorate([s], e.prototype, "hitTime", void 0),
            __decorate([s({
                type: cc.Enum(n.effectManagerKind)
            })], e.prototype, "myEffectKind", void 0),
            __decorate([r], e)
        } (cc.Component);
        o.
    default = c,
        cc._RF.pop()
    },
    {
        "../../data/enemyInfoEnum": "enemyInfoEnum",
        "../../utils/Emitter": "Emitter"
    }],
    SkillBomber: [function(t, e, o) {
        "use strict";
        cc._RF.push(e, "660echpLR1MzqCePaynXXXh", "SkillBomber"),
        Object.defineProperty(o, "__esModule", {
            value: !0
        });
        var n = t("../../data/weaponConfig"),
        i = t("../../utils/BezierTool"),
        a = t("../../utils/Emitter"),
        r = t("../../utils/GameManager"),
        s = t("../../utils/myConfigManager"),
        c = t("./SkillBase"),
        l = cc._decorator,
        d = l.ccclass,
        u = l.property,
        h = function(t) {
            function e() {
                var e = null !== t && t.apply(this, arguments) || this;
                return e.spineAct = null,
                e._isPenetration = !1,
                e._hpRoot = null,
                e._hpRecordPos = cc.v2(),
                e._curReHp = 400,
                e._cps = [],
                e._curTime = 0,
                e._lastPos = cc.v2(),
                e._timeScale = 1,
                e
            }
            return __extends(e, t),
            e.prototype.start = function() {
                var t = s.
            default.getInstance().getFullProperty();
                this._isPenetration = t.hasOwnProperty(n.EquipPropertyEnum.skill5),
                this.initMyHandle()
            },
            e.prototype.onEnable = function() {
                this._curTime = 0,
                this.initHpBar(),
                this.launchBullet1(this.node.getPosition(), this.toPos)
            },
            e.prototype.initMyHandle = function() {
                var t = this;
                this.spineAct.setCompleteListener(function(t) {
                    t.animation && t.animation.name
                }),
                this.spineAct.setEventListener(function(e, o) {
                    e.animation && e.animation.name,
                    "AniEnd_Attack" == o.data.name || "Attack_Start" == o.data.name && a.
                default.getInstance().emit("common_Skill", {
                        name: "BoomEffect",
                        startPos: t.node.getPosition(),
                        toPos: cc.v2(),
                        hit: t.hitHurt,
                        allHit: !1,
                        objStr: "enemy_attack"
                    })
                })
            },
            e.prototype.initHpBar = function() {
                this._curReHp = 400,
                this._hpRoot = {};
                var t = this.node.getChildByName("hp_enemy");
                if (t) {
                    t.active = !1,
                    this._hpRoot.node = cc.instantiate(t),
                    this._hpRoot.node.active = !0,
                    this._hpRoot.label = this._hpRoot.node.getComponentInChildren(cc.Label),
                    this._hpRoot.label.string = this._curReHp,
                    this._hpRoot.ProgressBar = this._hpRoot.node.getComponent(cc.ProgressBar),
                    this._hpRecordPos = this._hpRoot.node.getPosition(),
                    this._hpRoot.node.parent = null,
                    a.
                default.getInstance().emit("setHpParent", {
                        node: this._hpRoot.node
                    });
                    var e = this.node.getPosition();
                    this._hpRoot && this._hpRoot.node.setPosition(cc.v2(e.x, e.y + this._hpRecordPos.y)),
                    this.schedule(this.boomDownTime, 1),
                    this.spineAct.setAnimation(0, "Death_01_loop", !0)
                }
            },
            e.prototype.launchBullet1 = function(t, e) {
                var o = e.x - t.x,
                n = 600,
                i = Math.abs(o);
                n = i * (n / this.maxDis),
                this._timeScale = this.maxDis / i,
                this._timeScale > 2 && (this._timeScale = 2);
                var a = this.node.height * this.node.scale * .5;
                this._cps.push([t.x, t.y]),
                this._cps.push([t.x + .3 * o, t.y + n]),
                this._cps.push([t.x + .8 * o, t.y + n]),
                this._cps.push([e.x, e.y + a])
            },
            e.prototype.upHpBar = function() {
                this._hpRoot && (this._hpRoot.label.string = this._curReHp, this._hpRoot.ProgressBar.progress = this._curReHp / 400)
            },
            e.prototype.startBoom = function() {
                this._curReHp <= 0 ? (this.clearHpRoot(), this.spineAct.setAnimation(0, "Death_02_Boom", !1), this.unschedule(this.boomDownTime)) : this.upHpBar()
            },
            e.prototype.clearHpRoot = function() {
                this._hpRoot.node.removeFromParent(),
                this._hpRoot.node.destroy(),
                this._hpRoot = null
            },
            e.prototype.boomDownTime = function() {
                this._hpRoot && (this._curReHp -= 200, this.startBoom())
            },
            e.prototype.onCollisionEnter = function(t) {
                if (this._hpRoot) {
                    var e = t.node.getComponent("SkillBase");
                    if (e) {
                        if (!e._isSkillActive) return;
                        this._curReHp -= e.hitHurt,
                        this.startBoom(),
                        this._isPenetration || e.doMyClear()
                    }
                }
            },
            e.prototype.update = function(t) {
                if (!r.
            default.getInstance()._isGamePause) {
                    var e = this.node.getPosition();
                    if (this._hpRoot && this._hpRoot.node.setPosition(cc.v2(e.x, e.y + this._hpRecordPos.y)), !(this._curTime > 1)) {
                        var o = r.
                    default.getInstance()._myEnemyTimeScale;
                        this._curTime += t * this._timeScale * o;
                        var n = i.
                    default.getPoint(this._cps, this._curTime),
                        a = cc.v2(n[0], n[1]);
                        this.node.setPosition(a)
                    }
                }
            },
            __decorate([u(sp.Skeleton)], e.prototype, "spineAct", void 0),
            __decorate([d], e)
        } (c.
    default);
        o.
    default = h,
        cc._RF.pop()
    },
    {
        "../../data/weaponConfig": "weaponConfig",
        "../../utils/BezierTool": "BezierTool",
        "../../utils/Emitter": "Emitter",
        "../../utils/GameManager": "GameManager",
        "../../utils/myConfigManager": "myConfigManager",
        "./SkillBase": "SkillBase"
    }],
    SkillCallStone: [function(t, e, o) {
        "use strict";
        cc._RF.push(e, "50ca9IY1uFLjJ3CEqVquw8H", "SkillCallStone"),
        Object.defineProperty(o, "__esModule", {
            value: !0
        });
        var n = t("../../utils/Emitter"),
        i = t("../../utils/GameManager"),
        a = t("./SkillBase"),
        r = cc._decorator,
        s = r.ccclass,
        c = r.property,
        l = function(t) {
            function e() {
                var e = null !== t && t.apply(this, arguments) || this;
                return e.shootDot = null,
                e.curNode = null,
                e.breakNode = null,
                e.breakEffect2 = null,
                e.breakEffect = null,
                e.defaultDelay = 60,
                e._hitDelay = 0,
                e._isStartShoot = !1,
                e
            }
            return __extends(e, t),
            e.prototype.onEnable = function() {
                this.initSkill()
            },
            e.prototype.initSkill = function() {
                var t = this;
                this._isStartShoot = !0,
                this.curNode.active = !0,
                this.breakNode.active = !1,
                this.breakEffect.node.active = !1,
                this.breakEffect2.active = !1,
                this.node.scaleY = 0,
                cc.tween(this.node).to(.2, {
                    scaleY: 1
                }).delay(10).call(function() {
                    t._isStartShoot = !1,
                    t.startBreak()
                }).delay(2).call(function() {
                    t.doMyClear()
                }).start()
            },
            e.prototype.startBreak = function() {
                this.curNode.active = !1,
                this.breakNode.active = !0,
                this.breakEffect.node.active = !0,
                this.breakEffect2.active = !0
            },
            e.prototype.update = function() {
                i.
            default.getInstance()._isGamePause || this._isStartShoot && (this._hitDelay--, this._hitDelay < 0 && (this._hitDelay = this.defaultDelay, n.
            default.getInstance().emit("common_Skill", {
                    name: "Damage_Ghost",
                    startPos: cc.v2(this.node.getPosition().x + this.shootDot.x, this.node.getPosition().y + this.shootDot.y),
                    toPos: cc.v2(),
                    hit: this.hitHurt,
                    allHit: !1,
                    objStr: "enemy_attack"
                })))
            },
            __decorate([c(cc.Node)], e.prototype, "shootDot", void 0),
            __decorate([c(cc.Node)], e.prototype, "curNode", void 0),
            __decorate([c(cc.Node)], e.prototype, "breakNode", void 0),
            __decorate([c(cc.Node)], e.prototype, "breakEffect2", void 0),
            __decorate([c(cc.ParticleSystem)], e.prototype, "breakEffect", void 0),
            __decorate([c({
                tooltip: "\u9ed8\u8ba4\u95f4\u9694"
            })], e.prototype, "defaultDelay", void 0),
            __decorate([s], e)
        } (a.
    default);
        o.
    default = l,
        cc._RF.pop()
    },
    {
        "../../utils/Emitter": "Emitter",
        "../../utils/GameManager": "GameManager",
        "./SkillBase": "SkillBase"
    }],
    SkillCrackHit: [function(t, e, o) {
        "use strict";
        cc._RF.push(e, "68439Ue1apOVaHEsAK3fuhM", "SkillCrackHit"),
        Object.defineProperty(o, "__esModule", {
            value: !0
        });
        var n = t("./SkillBase"),
        i = t("../../utils/GameManager"),
        a = cc._decorator,
        r = a.ccclass,
        s = a.property,
        c = function(t) {
            function e() {
                var e = null !== t && t.apply(this, arguments) || this;
                return e.sharpREffect = null,
                e.sharpLEffect = null,
                e.lightEffect = null,
                e.crackNode = null,
                e.crackRoot = null,
                e._actNode = null,
                e
            }
            return __extends(e, t),
            e.prototype.onEnable = function() {
                var t = this,
                e = this.toPos.x - this.node.x > 0 ? 1 : -1;
                this._actNode = e < 0 ? this.sharpLEffect: this.sharpREffect,
                this._actNode.active = !0,
                this._actNode.getComponent(cc.ParticleSystem).resetSystem(),
                this.lightEffect.getComponent(cc.ParticleSystem).resetSystem(),
                this._actNode.getComponent(n.
            default).hitHurt = this.hitHurt,
                this._actNode.setPosition(cc.v2(200 * e, 0)),
                this.lightEffect.setPosition(cc.v2(200 * e, 0)),
                this.crackRoot.removeAllChildren(),
                this.schedule(this.showCrack, .1);
                var o = 1 / i.
            default.getInstance()._myEnemyTimeScale;
                cc.tween(this.lightEffect).by(2 * o, {
                    x: 1e3 * e
                }).start(),
                cc.tween(this._actNode).by(2 * o, {
                    x: 1e3 * e
                }).call(function() {
                    t.unschedule(t.showCrack),
                    t._actNode.getComponent(cc.ParticleSystem).stopSystem(),
                    t.lightEffect.getComponent(cc.ParticleSystem).stopSystem(),
                    t.doMyClear()
                }).start()
            },
            e.prototype.showCrack = function() {
                if (!i.
            default.getInstance()._isGamePause) {
                    var t = cc.instantiate(this.crackNode);
                    t.setPosition(this._actNode.getPosition()),
                    t.active = !0,
                    this.crackRoot.addChild(t);
                    var e = 1 / i.
                default.getInstance()._myEnemyTimeScale;
                    cc.tween(t).to(.2 * e, {
                        scale: .8
                    }).to(.5 * e, {
                        scale: 0,
                        opacity: 0
                    }).call(function() {
                        t.removeFromParent(),
                        t.destroy()
                    }).start()
                }
            },
            __decorate([s(cc.Node)], e.prototype, "sharpREffect", void 0),
            __decorate([s(cc.Node)], e.prototype, "sharpLEffect", void 0),
            __decorate([s(cc.Node)], e.prototype, "lightEffect", void 0),
            __decorate([s(cc.Node)], e.prototype, "crackNode", void 0),
            __decorate([s(cc.Node)], e.prototype, "crackRoot", void 0),
            __decorate([r], e)
        } (n.
    default);
        o.
    default = c,
        cc._RF.pop()
    },
    {
        "../../utils/GameManager": "GameManager",
        "./SkillBase": "SkillBase"
    }],
    SkillGravityBall: [function(t, e, o) {
        "use strict";
        cc._RF.push(e, "318f76g2I1J9KjjQHZyTCPn", "SkillGravityBall"),
        Object.defineProperty(o, "__esModule", {
            value: !0
        });
        var n = t("../../utils/GameManager"),
        i = t("./SkillBase"),
        a = cc._decorator,
        r = a.ccclass,
        s = (a.property,
        function(t) {
            function e() {
                var e = null !== t && t.apply(this, arguments) || this;
                return e._curActorRoot = null,
                e
            }
            return __extends(e, t),
            e.prototype.onEnable = function() {
                var t = this;
                this._curActorRoot = cc.find("Canvas/ActorManager").getComponent("ActorManager").ActorNode,
                cc.tween(this.node).delay(3).call(function() {
                    t.doMyClear()
                }).start()
            },
            e.prototype.update = function() {
                if (!n.
            default.getInstance()._isGamePause) {
                    var t = this.node.x - this._curActorRoot.x;
                    this._curActorRoot.x += t > 0 ? 3 : -3
                }
            },
            __decorate([r], e)
        } (i.
    default));
        o.
    default = s,
        cc._RF.pop()
    },
    {
        "../../utils/GameManager": "GameManager",
        "./SkillBase": "SkillBase"
    }],
    SkillMine: [function(t, e, o) {
        "use strict";
        cc._RF.push(e, "9acdbttA6lM4pjXCVd4KXe+", "SkillMine"),
        Object.defineProperty(o, "__esModule", {
            value: !0
        });
        var n = t("../../utils/Emitter"),
        i = t("./SkillBase"),
        a = cc._decorator,
        r = a.ccclass,
        s = a.property,
        c = function(t) {
            function e() {
                var e = null !== t && t.apply(this, arguments) || this;
                return e.triggerBox = null,
                e.actNode = null,
                e._isTrigger = !1,
                e
            }
            return __extends(e, t),
            e.prototype.startTrigger = function() {
                var t = this;
                this.actNode.playAnimation("start", 1);
                var e = 1 * Math.random() + 1;
                cc.tween(this.node).delay(e).call(function() {
                    n.
                default.getInstance().emit("common_Skill", {
                        name: "BoomEffect",
                        startPos: t.node.getPosition(),
                        toPos: cc.v2(),
                        hit: t.hitHurt,
                        allHit: !1,
                        objStr: "enemy_attack"
                    }),
                    t.doMyClear()
                }).start()
            },
            e.prototype.onEnable = function() {
                var t = this;
                this._isTrigger = !1,
                this.actNode.playAnimation("idle", 1),
                this._isSkillActive = !1,
                this.triggerBox.enabled = !1,
                this.node.angle = 180,
                cc.tween(this.node).to(.5, {
                    position: this.toPos,
                    angle: 0
                }).call(function() {
                    t.triggerBox.enabled = !0
                }).start()
            },
            e.prototype.onCollisionEnter = function() {
                this._isTrigger || (this._isTrigger = !0, this.triggerBox.enabled = !1, this.startTrigger())
            },
            __decorate([s(cc.BoxCollider)], e.prototype, "triggerBox", void 0),
            __decorate([s(dragonBones.ArmatureDisplay)], e.prototype, "actNode", void 0),
            __decorate([r], e)
        } (i.
    default);
        o.
    default = c,
        cc._RF.pop()
    },
    {
        "../../utils/Emitter": "Emitter",
        "./SkillBase": "SkillBase"
    }],
    SkillPoisonRain: [function(t, e, o) {
        "use strict";
        cc._RF.push(e, "ae30fi2TMhKgq4SvLUpwapB", "SkillPoisonRain"),
        Object.defineProperty(o, "__esModule", {
            value: !0
        });
        var n = t("../../utils/GameManager"),
        i = t("./SkillBase"),
        a = cc._decorator,
        r = a.ccclass,
        s = a.property,
        c = function(t) {
            function e() {
                var e = null !== t && t.apply(this, arguments) || this;
                return e.lightRoot = null,
                e.lightNode = null,
                e.ringNode = null,
                e.rootBg = null,
                e.boxCol = null,
                e._range = 0,
                e
            }
            return __extends(e, t),
            e.prototype.onEnable = function() {
                var t = this;
                this.ringNode.scale = 0,
                this.node.setPosition(this.toPos),
                this._range = this.node.width,
                this.rootBg.opacity = 0,
                cc.tween(this.rootBg).to(.5, {
                    opacity: 255
                }).call(function() {
                    t.boxCol.enabled = !0,
                    t.showEffect()
                }).delay(3).call(function() {
                    t.boxCol.enabled = !1,
                    t.unschedule(t.startRain),
                    t.doEnd()
                }).start(),
                this.startRain(),
                this.schedule(this.startRain, .1)
            },
            e.prototype.startRain = function() {
                if (!n.
            default.getInstance()._isGamePause) for (var t = 1 / n.
            default.getInstance()._myEnemyTimeScale, e = function() {
                    var e = cc.instantiate(o.lightNode);
                    e.active = !0,
                    e.setPosition(o.getCurPos()),
                    o.lightRoot.addChild(e);
                    var n = 1 * Math.random(),
                    i = 20 * n;
                    e.scale *= n + .1,
                    cc.tween(e).to(.3 * t, {
                        y: i
                    }).call(function() {
                        e.removeFromParent(),
                        e.destroy()
                    }).start()
                },
                o = this, i = 0; i < 3; i++) e()
            },
            e.prototype.showEffect = function() {
                cc.tween(this.ringNode).to(.5, {
                    scale: 1
                }).set({
                    scale: 0
                }).union().repeatForever().start()
            },
            e.prototype.doEnd = function() {
                var t = this;
                cc.tween(this.rootBg).to(3, {
                    opacity: 0
                }).delay(1).call(function() {
                    t.doMyClear()
                }).start()
            },
            e.prototype.getCurPos = function() {
                var t = Math.random() * this._range - .5 * this._range,
                e = Math.random() * cc.winSize.height * .4 + .4 * cc.winSize.height;
                return cc.v2(t, e)
            },
            __decorate([s(cc.Node)], e.prototype, "lightRoot", void 0),
            __decorate([s(cc.Node)], e.prototype, "lightNode", void 0),
            __decorate([s(cc.Node)], e.prototype, "ringNode", void 0),
            __decorate([s(cc.Node)], e.prototype, "rootBg", void 0),
            __decorate([s(cc.BoxCollider)], e.prototype, "boxCol", void 0),
            __decorate([r], e)
        } (i.
    default);
        o.
    default = c,
        cc._RF.pop()
    },
    {
        "../../utils/GameManager": "GameManager",
        "./SkillBase": "SkillBase"
    }],
    SkillPoison: [function(t, e, o) {
        "use strict";
        cc._RF.push(e, "8b1a25KF+RAeJChcsYp+n/u", "SkillPoison"),
        Object.defineProperty(o, "__esModule", {
            value: !0
        });
        var n = t("../../utils/GameManager"),
        i = t("./SkillBase"),
        a = cc._decorator,
        r = a.ccclass,
        s = a.property,
        c = function(t) {
            function e() {
                var e = null !== t && t.apply(this, arguments) || this;
                return e.poisonBg = null,
                e.poisonItem = null,
                e.attackBox = null,
                e._range = 0,
                e._delay = 0,
                e._isShoot = !0,
                e
            }
            return __extends(e, t),
            e.prototype.onEnable = function() {
                var t = this;
                this._range = this.node.width,
                this.poisonBg.opacity = 0,
                this.attackBox.enabled = !0,
                this._isShoot = !0,
                cc.tween(this.poisonBg).to(.2, {
                    opacity: 255
                }).delay(1).call(function() {
                    t._isShoot = !1,
                    t.attackBox.enabled = !1
                }).to(.2, {
                    opacity: 0
                }).call(function() {
                    t.doMyClear()
                }).start()
            },
            e.prototype.addPoisonItem = function() {
                var t = cc.instantiate(this.poisonItem);
                t.setPosition(this.getCurPos()),
                this.node.addChild(t),
                cc.tween(t).by(.5, {
                    scale: .1,
                    y: 10
                }).delay(.3).call(function() {
                    t.removeFromParent(),
                    t.destroy()
                }).start()
            },
            e.prototype.getCurPos = function() {
                var t = Math.random() * this._range - .5 * this._range,
                e = 30 * Math.random() - 10;
                return cc.v2(t, e)
            },
            e.prototype.update = function() {
                this._isShoot && !n.
            default.getInstance()._isGamePause && (this._delay--, this._delay < 0 && (this._delay = 30, this.addPoisonItem(), this.addPoisonItem()))
            },
            __decorate([s(cc.Node)], e.prototype, "poisonBg", void 0),
            __decorate([s(cc.Node)], e.prototype, "poisonItem", void 0),
            __decorate([s(cc.BoxCollider)], e.prototype, "attackBox", void 0),
            __decorate([r], e)
        } (i.
    default);
        o.
    default = c,
        cc._RF.pop()
    },
    {
        "../../utils/GameManager": "GameManager",
        "./SkillBase": "SkillBase"
    }],
    SkillTrap1: [function(t, e, o) {
        "use strict";
        cc._RF.push(e, "aede2qCCXdLcpOr3IwbSEKl", "SkillTrap1"),
        Object.defineProperty(o, "__esModule", {
            value: !0
        });
        var n = t("./SkillBase"),
        i = cc._decorator,
        a = i.ccclass,
        r = i.property,
        s = function(t) {
            function e() {
                var e = null !== t && t.apply(this, arguments) || this;
                return e.attackBox = null,
                e.actSpine = null,
                e
            }
            return __extends(e, t),
            e.prototype.onEnable = function() {
                var t = this;
                this.attackBox.enabled = !1,
                this.actSpine.setAnimation(0, "Idle", !1),
                cc.tween(this.node).delay(2).call(function() {
                    t.attackBox.enabled = !0,
                    t.actSpine.setAnimation(0, "Attack_Start", !1)
                }).delay(1).call(function() {
                    t.actSpine.setAnimation(0, "Attack_End", !1)
                }).delay(1).call(function() {
                    t.doMyClear()
                }).start()
            },
            __decorate([r(cc.BoxCollider)], e.prototype, "attackBox", void 0),
            __decorate([r(sp.Skeleton)], e.prototype, "actSpine", void 0),
            __decorate([a], e)
        } (n.
    default);
        o.
    default = s,
        cc._RF.pop()
    },
    {
        "./SkillBase": "SkillBase"
    }],
    SprintSkill: [function(t, e, o) {
        "use strict";
        cc._RF.push(e, "c5f5fjy16BAN4fwJ4c2kExO", "SprintSkill"),
        Object.defineProperty(o, "__esModule", {
            value: !0
        });
        var n = t("./CommonSkill"),
        i = t("../utils/GameManager"),
        a = cc._decorator,
        r = a.ccclass,
        s = (a.property,
        function(t) {
            function e() {
                return null !== t && t.apply(this, arguments) || this
            }
            return __extends(e, t),
            e.prototype.onLoad = function() {
                this.initSkill(this)
            },
            e.prototype.doSkill = function() {
                var t = this,
                e = 1 / i.
            default.getInstance()._myEnemyTimeScale;
                return new Promise(function(o) {
                    var n = t.node.x;
                    n += 400 * t.node.scaleX,
                    t.node.x = n;
                    for (var i = t.node,
                    a = t.node.getChildByName("spine"), r = function(t) {
                        var o = cc.instantiate(a);
                        o.x = -50 * t - 50,
                        o.y = 0,
                        o.opacity = 100,
                        i.addChild(o),
                        cc.tween(o).to(.2 * e, {
                            x: 0
                        },
                        {
                            easing: "cubicIn"
                        }).call(function() {
                            o.removeFromParent(),
                            o.destroy()
                        }).start()
                    },
                    s = 0; s < 3; s++) r(s);
                    o()
                })
            },
            __decorate([r], e)
        } (n.
    default));
        o.
    default = s,
        cc._RF.pop()
    },
    {
        "../utils/GameManager": "GameManager",
        "./CommonSkill": "CommonSkill"
    }],
    StartScene: [function(t, e, o) {
        "use strict";
        cc._RF.push(e, "8b41b56Dy1MopdbJDESgtGk", "StartScene"),
        Object.defineProperty(o, "__esModule", {
            value: !0
        });
        var n = cc._decorator,
        i = n.ccclass,
        a = n.property,
        r = function(t) {
            function e() {
                var e = null !== t && t.apply(this, arguments) || this;
                return e.loadingNode = null,
                e.startNode = null,
                e
            }
            return __extends(e, t),
            e.prototype.start = function() {
                var t = this;
                this.loadingNode.progress = 0;
                var e = this;
                cc.director.preloadScene("HomeScene",
                function(e, o) {
                    t.loadingNode.progress = e / o
                },
                function() {
                    cc.adCtl.testChannel(2) ? (e.startNode.active = !0, e.loadingNode.node.active = !1) : e.doNextScene()
                })
            },
            e.prototype.doNextScene = function() {
                cc.sys.localStorage.setItem("EndlessBoundary_tutorialStep", -1),
                this.scheduleOnce(function() {
                    cc.sys.localStorage.getItem("EndlessBoundary_tutorialStep") ? cc.director.loadScene("HomeScene") : cc.director.loadScene("StoryScene")
                },
                2)
            },
            __decorate([a(cc.ProgressBar)], e.prototype, "loadingNode", void 0),
            __decorate([a(cc.Node)], e.prototype, "startNode", void 0),
            __decorate([i], e)
        } (cc.Component);
        o.
    default = r,
        cc._RF.pop()
    },
    {}],
    StoryScene: [function(t, e, o) {
        "use strict";
        cc._RF.push(e, "5f6ed5LgXFMTrJqzvFOYpSc", "StoryScene"),
        Object.defineProperty(o, "__esModule", {
            value: !0
        });
        var n = t("../../utils/AudioMgr"),
        i = cc._decorator,
        a = i.ccclass,
        r = i.property,
        s = function(t) {
            function e() {
                var e = null !== t && t.apply(this, arguments) || this;
                return e.label = null,
                e.stepList = [],
                e.tipList = ["\u86ee\u8352\u65f6\u671f\u98df\u7269\u532e\u4e4f\uff0c\u56e0\u6b64\u90e8\u843d\u4e2d\u603b\u4f1a\u53d1\u751f\u51b2\u7a81\uff0c\u4e0d\u65f6\u7684\u5c31\u4f1a\u6709\u5468\u8fb9\u7684\u5176\u4ed6\u90e8\u843d\u524d\u6765\u62a2\u593a\u8d44\u6e90\u3002", "\u75be\u98ce\u4ece\u5c0f\u8ddf\u7740\u7236\u4eb2\u730e\u6740\u52a8\u7269\u6765\u83b7\u53d6\u98df\u7269\uff0c\u6240\u4ee5\u683c\u5916\u673a\u654f\uff0c\u4e5f\u662f\u672a\u6765\u65cf\u957f\u7684\u4e0d\u4e8c\u4eba\u9009\u3002", "\u8fd9\u5929\u75be\u98ce\u7167\u5e38\u53bb\u6355\u730e\uff0c\u75be\u98ce\u5e26\u7740\u6536\u83b7\u6ee1\u6ee1\u7684\u98df\u7269\u56de\u6765\u65f6\u53d1\u73b0\u5230\u5904\u90fd\u662f\u706b\u7130\uff0c\u90e8\u843d\u4e2d\u65e0\u6570\u7684\u5c38\u4f53\u6563\u843d\u5176\u4e2d\u3002", "\u75be\u98ce\u770b\u5230\u8fd9\u4e00\u5e55\u6025\u7ea2\u4e86\u773c\u775b\uff0c\u53d1\u8a93\u8981\u5c06\u4ed6\u7684\u4ec7\u4eba\u4e00\u4e2a\u4e2a\u74e6\u89e3\uff0c\u4e8e\u662f\u8d70\u4e0a\u4e86\u590d\u4ec7\u4e4b\u8def\uff0c\u592a\u9633\u7ec8\u5c06\u5347\u8d77\u3002"],
                e._curTween = null,
                e._curStep = 0,
                e._isWriting = !1,
                e._isTurning = !1,
                e
            }
            return __extends(e, t),
            e.prototype.start = function() {
                n.
            default.getInstance(),
                this.doStep()
            },
            e.prototype.doStep = function() {
                var t = this;
                this._isTurning = !1;
                for (var e = this.tipList[this._curStep], o = e.split(""), n = 0; n < o.length; n++)"\uff0c" == o[n] && (o[n] = "\uff0c\n");
                this._isWriting = !0,
                this._curTween = cc.tween({
                    num: 0
                }).to(2, {
                    num: e.length + 1
                },
                {
                    progress: function(e, n, i, a) {
                        var r = Math.floor(i),
                        s = o.slice(0, r).join("");
                        return t.label.string = s,
                        e + (n - e) * a
                    }
                }).call(function() {
                    t._isWriting = !1
                }),
                this._curTween.start()
            },
            e.prototype.touchDoNext = function() {
                if (!this._isTurning) return this._isWriting ? (this._curTween && this._curTween.stop(), this._curTween = null, this.showAll(), void(this._isWriting = !1)) : void(this._curStep >= 3 ? cc.director.loadScene("HomeScene") : (this._isTurning = !0, this.label.string = "", this.stepList[this._curStep].getComponent("GradientEffect").startFadeOut(), this.scheduleOnce(function() {
                    this._curStep++,
                    this.doStep()
                },
                1)))
            },
            e.prototype.showAll = function() {
                var t = this.tipList[this._curStep].replace(/\uff0c/g, "\uff0c\n");
                this.label.string = t
            },
            e.prototype.jumpToNext = function() {
                this._curTween && this._curTween.stop(),
                n.
            default.getInstance().playButton(),
                cc.director.loadScene("HomeScene")
            },
            __decorate([r(cc.Label)], e.prototype, "label", void 0),
            __decorate([r([cc.Node])], e.prototype, "stepList", void 0),
            __decorate([a], e)
        } (cc.Component);
        o.
    default = s,
        cc._RF.pop()
    },
    {
        "../../utils/AudioMgr": "AudioMgr"
    }],
    SuitProSkill: [function(t, e, o) {
        "use strict";
        cc._RF.push(e, "ce097k2ZYRCAaBML/dSrAYc", "SuitProSkill"),
        Object.defineProperty(o, "__esModule", {
            value: !0
        });
        var n = t("../data/enemyInfoEnum"),
        i = t("../utils/Emitter"),
        a = t("../utils/myConfigManager"),
        r = cc._decorator,
        s = r.ccclass,
        c = (r.property,
        function(t) {
            function e() {
                var e = null !== t && t.apply(this, arguments) || this;
                return e._doOnce = !0,
                e
            }
            return __extends(e, t),
            e.prototype.onLoad = function() {},
            e.prototype.setSuitSkill = function(t) {
                if (this._doOnce) {
                    this._doOnce = !1;
                    for (var e = 0; e < t.length; e++) {
                        var o = t[e];
                        i.
                    default.getInstance().emit("loadSkillPool", {
                            mySkillprafabSkill: o
                        })
                    }
                }
            },
            e.prototype.doSkill = function(t, e, o) {
                e == n.skillPrefabKind.Skill_ArrowRain || n.skillPrefabKind.Skill_FireBall;
                var r = a.
            default.getInstance().getNameBySkillPrefabKind(e);
                i.
            default.getInstance().emit("common_Skill", {
                    name: r,
                    startPos: cc.v2(o.x, -180),
                    toPos: cc.v2(o.x, -180),
                    hit: t,
                    allHit: !1,
                    objStr: "actor_attack"
                })
            },
            __decorate([s], e)
        } (cc.Component));
        o.
    default = c,
        cc._RF.pop()
    },
    {
        "../data/enemyInfoEnum": "enemyInfoEnum",
        "../utils/Emitter": "Emitter",
        "../utils/myConfigManager": "myConfigManager"
    }],
    SummonSkill: [function(t, e, o) {
        "use strict";
        cc._RF.push(e, "a5900MacylIL5zwLLhZHhF9", "SummonSkill"),
        Object.defineProperty(o, "__esModule", {
            value: !0
        });
        var n = t("../utils/Emitter"),
        i = t("./CommonSkill"),
        a = cc._decorator,
        r = a.ccclass,
        s = a.property,
        c = function(t) {
            function e() {
                var e = null !== t && t.apply(this, arguments) || this;
                return e.summonCount = 1,
                e.summonKind = "7",
                e.inheritPre = .3,
                e.limitNum = 1,
                e._dataList = [],
                e
            }
            return __extends(e, t),
            e.prototype.onLoad = function() {
                this.initSkill(this),
                this._dataList = this.summonKind.split(";")
            },
            e.prototype.doSkill = function() {
                var t = this;
                return new Promise(function(e) {
                    for (var o = t.node.getPosition(), n = cc.find("Canvas").getComponent("GameControl").myEnemyManager.getEnemies(), i = 0; i < t.summonCount; i++) n - 1 < t.limitNum && (t.addEnemy(cc.v2(o.x + 50 * i - 50, o.y)), n++);
                    e()
                })
            },
            e.prototype.addEnemy = function(t) {
                if (0 != this._dataList.length) {
                    var e = Math.floor(Math.random() * this._dataList.length),
                    o = this._dataList[e];
                    o = parseInt(o);
                    var i = this.getComponent("BaseEnemy")._enemyPro; (i = JSON.parse(JSON.stringify(i))).hp = Math.round(i.hp * this.inheritPre),
                    i.hurt = Math.round(i.hurt * this.inheritPre),
                    i.skillspeed = i.skillspeed * this.inheritPre,
                    n.
                default.getInstance().emit("addOtherEnemy", {
                        id: o,
                        pos: t,
                        data: i
                    })
                }
            },
            __decorate([s({
                tooltip: "\u4e2a\u6570"
            })], e.prototype, "summonCount", void 0),
            __decorate([s({
                tooltip: "\u79cd\u7c7b\u591a\u4e2a\u5206\u53f7;\u9694\u5f00"
            })], e.prototype, "summonKind", void 0),
            __decorate([s({
                tooltip: "\u5c5e\u6027\u7ee7\u627f"
            })], e.prototype, "inheritPre", void 0),
            __decorate([s({
                tooltip: "\u9650\u5236\u6570\u91cf"
            })], e.prototype, "limitNum", void 0),
            __decorate([r], e)
        } (i.
    default);
        o.
    default = c,
        cc._RF.pop()
    },
    {
        "../utils/Emitter": "Emitter",
        "./CommonSkill": "CommonSkill"
    }],
    TTAdManager: [function(t, e) {
        "use strict";
        cc._RF.push(e, "67ef4FcqG1GjJugHOi25v2B", "TTAdManager");
        var o = t("BaseManager");
        cc.Class({
            extends: o,
            ctor: function() {
                this.bannerAdCtrl = null,
                this.videoAdCtrl = null,
                this.videoAdCall = null,
                this.videoPath = "",
                this.recorderManager = null,
                this._stopCallBack = null,
                this._shareCallBack = null,
                this._recordTime = 0,
                this._isRecordState = 0,
                this._moreGameBtn = null,
                this.interstitialAd = null,
                this.appId_adUnitId = "",
                this.video_adUnitId = "",
                this.inst_adUnitId = "",
                this.banner_adUnitId = "",
                this.shareID = "",
                this.clipIndexList = []
            },
            initSDK: function() {
                this.myAdChannel = "tt";
                var t = cc.adCtl.getAdInfo("tt");
                t && (this.appId_adUnitId = t.appId, this.inst_adUnitId = t.inst, this.video_adUnitId = t.video, this.banner_adUnitId = t.banner, this.shareID = t.shareId, this.initMyVideoAds(), this.myMoreGame())
            },
            initShare: function() {
                if (window.tt) {
                    var t = this;
                    tt.onShareAppMessage(function() {
                        return {
                            template_id: t.shareID,
                            query: "",
                            success: function() {
                                console.log("\u5206\u4eab\u6210\u529f")
                            },
                            fail: function(t) {
                                console.log("\u5206\u4eab\u5931\u8d25", t)
                            }
                        }
                    })
                }
            },
            miniLogin: function() {
                var t = this;
                window.tt && tt.login({
                    success: function() {},
                    fail: function() {
                        tt.showModal({
                            title: "\u767b\u5f55\u5931\u8d25",
                            content: "\u662f\u5426\u91cd\u65b0\u767b\u5f55\uff1f",
                            cancelText: "\u7ee7\u7eed\u6e38\u620f",
                            success: function(e) {
                                e.confirm ? (console.log("\u70b9\u51fb\u4e86\u786e\u5b9a"), t.miniLogin()) : e.cancel && console.log("\u70b9\u51fb\u4e86\u53d6\u6d88")
                            }
                        })
                    }
                })
            },
            showToast: function(t) {
                cc.log(t),
                window.tt && tt.showToast({
                    title: t,
                    icon: "none",
                    duration: 2e3
                })
            },
            showNative: function() {
                if ("Toutiao" === tt.getSystemInfoSync().appName && tt.createInterstitialAd) {
                    var t = this;
                    this.interstitialAd && this.interstitialAd.destroy(),
                    this.interstitialAd = tt.createInterstitialAd({
                        adUnitId: this.inst_adUnitId
                    }),
                    this.interstitialAd.load().then(function() {
                        t.interstitialAd.show()
                    }).
                    catch(function(t) {
                        console.log(t)
                    })
                }
            },
            initMyVideoAds: function() {
                if (window.tt) {
                    var t = this;
                    this.videoAdCtrl = tt.createRewardedVideoAd({
                        adUnitId: this.video_adUnitId
                    }),
                    this.videoAdCtrl.onError(function(t) {
                        console.log("\u5e7f\u544a\u52a0\u8f7d\u51fa\u9519 " + t.errMsg)
                    }),
                    this.videoAdCtrl.onLoad(function() {
                        console.log("\u52a0\u8f7d\u4e8b\u4ef6\u56de\u8c03")
                    }),
                    this.videoAdCtrl.onClose(function(e) {
                        console.log("\u662f\u5426\u89c2\u770b\u5b8c\u6574\u4e86 " + e.isEnded),
                        e.isEnded ? t.videoAdCall(1) : (t.showToast("\u672a\u64ad\u653e\u5b8c\u6210,\u4e0d\u80fd\u83b7\u5f97\u5956\u52b1"), t.videoAdCall(0))
                    })
                }
            },
            showVideo: function(t) {
                var e = this;
                console.log("ShowVideoAds \u4e8b\u4ef6\u56de\u8c03"),
                this.videoAdCall = t;
                var o = this;
                if (window.tt) {
                    if (null == this.videoAdCtrl) return this.videoAdCall(1),
                    void o.showToast("\u5e7f\u544a\u64ad\u653e\u5931\u8d25,\u8bf7\u68c0\u67e5\u7f51\u7edc\u6216\u8005\u91cd\u8bd5");
                    this.videoAdCtrl.load().then(function() {
                        return e.videoAdCtrl.show()
                    }).
                    catch(function(t) {
                        console.log(t.errMsg),
                        o.showToast("\u5e7f\u544a\u64ad\u653e\u5931\u8d25,\u8bf7\u68c0\u67e5\u7f51\u7edc\u6216\u8005\u91cd\u8bd5")
                    })
                } else console.log("mycb\u4e8b\u4ef6\u56de\u8c03"),
                cc.sys.platform == cc.sys.DESKTOP_BROWSER && this.videoAdCall(1)
            },
            hideBanner: function() {
                null != this.bannerAdCtrl && (this.bannerAdCtrl.destroy(), this.bannerAdCtrl = null)
            },
            showBanner: function() {
                var t = this;
                if (this.resizeTime = 0, this.allScreen = !1, window.tt) {
                    null != this.bannerAdCtrl && this.bannerAdCtrl.destroy();
                    var e = {};
                    e.W = tt.getSystemInfoSync().windowWidth,
                    e.H = tt.getSystemInfoSync().windowHeight,
                    this.bannerAdCtrl = tt.createBannerAd({
                        adUnitId: this.banner_adUnitId,
                        style: {
                            left: 0,
                            top: e.H - 168.75,
                            width: 300
                        }
                    }),
                    this.bannerAdCtrl.style.left = (e.W - 300) / 2,
                    this.bannerAdCtrl.onResize(function(o) {
                        t.bannerAdCtrl.style.top = e.H - o.height,
                        t.bannerAdCtrl.style.left = (e.W - o.width) / 2
                    }),
                    this.bannerAdCtrl.onLoad(function() {
                        console.log(" banner \u52a0\u8f7d\u5b8c\u6210"),
                        t.bannerAdCtrl.show().then(function() {
                            console.log("\u5e7f\u544a\u663e\u793a\u6210\u529f")
                        }).
                        catch(function(t) {
                            console.log("\u5e7f\u544a\u7ec4\u4ef6\u51fa\u73b0\u95ee\u9898", t)
                        })
                    }),
                    this.bannerAdCtrl.onError(function(t) {
                        console.log(t)
                    }),
                    console.log("\u51c6\u5907\u663e\u793abanner\u5e7f\u544a")
                }
            },
            shareGame: function(t) {
                console.log("\u51c6\u5907GameShare"),
                this.shareID && (window.tt ? tt.shareAppMessage({
                    templateId: this.shareID,
                    query: "",
                    success: function() {
                        t && t(),
                        console.log("\u5206\u4eab\u89c6\u9891\u6210\u529f")
                    },
                    fail: function(t) {
                        console.log("\u5206\u4eab\u89c6\u9891\u5931\u8d25" + JSON.stringify(t))
                    }
                }) : t && t())
            },
            startRecord: function() {
                var t = this;
                if (window.tt) {
                    if (1 == this._isRecordState) return;
                    this.videoPath = "",
                    null == this.recorderManager && (this.recorderManager = tt.getGameRecorderManager(), this.recorderManager.onStart(function(e) {
                        console.log("\u5f55\u5236\u5f00\u59cb\u4e86: " + e),
                        t._recordTime = Math.floor(.001 * (new Date).getTime()),
                        t._isRecordState = 1
                    }), this.recorderManager.onStop(function(e) {
                        console.log("\u5f55\u5236\u7ed3\u675f\u4e86: " + e.videoPath),
                        Math.floor(.001 * (new Date).getTime()) - t._recordTime < 4 ? (t.showToast("\u5f55\u5c4f\u5931\u8d25\uff1a\u5f55\u5c4f\u65f6\u957f\u4f4e\u4e8e\u4e09\u79d2"), null != t._stopCallBack && (t._stopCallBack(0), t._stopCallBack = null)) : (t.videoPath = e.videoPath, 0 != t.clipIndexList.length ? (t.clipIndexList.length > 5 && t.clipIndexList.splice(5, t.clipIndexList.length - 5), t.recorderManager.clipVideo({
                            path: t.videoPath,
                            clipRange: t.clipIndexList,
                            success: function(e) {
                                t.videoPath = e.videoPath,
                                null != t._stopCallBack && t.ShareRecordScreen(function(e) {
                                    t._stopCallBack(e),
                                    t._stopCallBack = null
                                }),
                                console.log(e.videoPath)
                            },
                            fail: function(t) {
                                console.error(t)
                            }
                        })) : null != t._stopCallBack && t.ShareRecordScreen(function(e) {
                            t._stopCallBack(e),
                            t._stopCallBack = null
                        })),
                        t._isRecordState = 0
                    }), this.recorderManager.onPause(function() {
                        console.log("\u5f55\u5236\u6682\u505c\u4e86")
                    }), this.recorderManager.onResume(function() {
                        console.log("\u5f55\u5236\u6062\u590d\u4e86")
                    }), this.recorderManager.onError(function(e) {
                        t.showToast(e),
                        t._isRecordState = 0,
                        console.log("\u5f55\u5236\u51fa\u9519\u4e86:" + e)
                    })),
                    this.recorderManager.start({
                        duration: 300
                    })
                } else cc.sys.platform,
                cc.sys.DESKTOP_BROWSER
            },
            selfClipVideo: function() {
                if (this.recorderManager && 1 == this._isRecordState) {
                    var t = this;
                    this.recorderManager.recordClip({
                        timeRange: [1, 2],
                        success: function(e) {
                            console.log(e.index),
                            t.clipIndexList.push(e.index)
                        }
                    })
                }
            },
            endRecord: function(t) {
                if (this._stopCallBack = t, window.tt) {
                    if (null == this.recorderManager) return this.showToast("\u5206\u4eab\u51fa\u9519\u4e86,\u8bf7\u91cd\u65b0\u5f55\u5236"),
                    this._isRecordState = 0,
                    void this._stopCallBack(0);
                    if (console.log("\u505c\u6b62\u5f55\u5236"), "" != this.videoPath) {
                        var e = this;
                        null != this._stopCallBack && e.ShareRecordScreen(function(t) {
                            e._stopCallBack(t),
                            e._stopCallBack = null
                        })
                    } else this.recorderManager.stop()
                } else cc.sys.platform == cc.sys.DESKTOP_BROWSER && null != this._stopCallBack && this._stopCallBack(1)
            },
            shareRecord: function(t) {
                this._shareCallBack = t;
                var e = this;
                if (window.tt) {
                    if (null == this.recorderManager || "" == this.videoPath) return e.showToast("\u5f55\u5c4f\u5931\u8d25\uff1a\u5f55\u5c4f\u65f6\u957f\u4f4e\u4e8e\u4e09\u79d2"),
                    void(this._shareCallBack && this._shareCallBack(0));
                    console.log("\u5206\u4eab\u5f55\u5236\u7684\u89c6\u9891"),
                    tt.shareAppMessage({
                        channel: "video",
                        title: "\u5f00\u542f\u4f60\u7684\u6218\u6597\u65f6\u4ee3",
                        imageUrl: "",
                        query: "",
                        extra: {
                            videoPath: this.videoPath,
                            videoTopics: ["\u65e0\u5c3d\u7684\u8fb9\u754c"]
                        },
                        success: function() {
                            e.showToast("\u5206\u4eab\u89c6\u9891\u6210\u529f"),
                            e._shareCallBack && e._shareCallBack(1),
                            e.videoPath = "",
                            cc.adCtl._isShare = !0,
                            console.log("\u5206\u4eab\u89c6\u9891\u6210\u529f")
                        },
                        fail: function(t) {
                            e.showToast("\u5206\u4eab\u89c6\u9891\u5931\u8d25"),
                            e._shareCallBack && e._shareCallBack(0),
                            console.log("\u5206\u4eab\u89c6\u9891\u5931\u8d25" + JSON.stringify(t))
                        }
                    })
                } else e._shareCallBack && this._shareCallBack(1)
            },
            doShock: function(t) {
                window.tt && (1 == t ? tt.vibrateShort({
                    success: function() {},
                    fail: function() {}
                }) : tt.vibrateLong({
                    success: function() {},
                    fail: function() {}
                }))
            },
            myMoreGame: function() {
                var t = this;
                window.tt && "function" == typeof tt.createMoreGamesButton && cc.resources.load("moregame",
                function(e, o) {
                    if (e) console.error(e.message);
                    else {
                        console.log("nativeUrl: " + o.nativeUrl);
                        var n = o.nativeUrl,
                        i = {};
                        i.W = tt.getSystemInfoSync().windowWidth,
                        i.H = tt.getSystemInfoSync().windowHeight,
                        t._moreGameBtn = tt.createMoreGamesButton({
                            type: "image",
                            image: n,
                            style: {
                                left: i.W - 85,
                                top: .5 * i.H,
                                width: 77,
                                height: 61,
                                lineHeight: 40,
                                backgroundColor: "#ff0000",
                                textColor: "#ffffff",
                                textAlign: "center",
                                fontSize: 16,
                                borderRadius: 4,
                                borderWidth: 0,
                                borderColor: "#ff0000"
                            },
                            appLaunchOptions: [{
                                appId: "tta685d03839af5e67",
                                query: "foo=bar&baz=qux",
                                extraData: {}
                            }],
                            onNavigateToMiniGame: function(t) {
                                console.log("\u8df3\u8f6c\u5176\u4ed6\u5c0f\u6e38\u620f", t)
                            }
                        }),
                        t._moreGameBtn.onTap(function() {
                            console.log("\u70b9\u51fb\u66f4\u591a\u6e38\u620f")
                        })
                    }
                })
            },
            setMoreBtnState: function(t) {
                null != this._moreGameBtn && (t ? this._moreGameBtn.show() : this._moreGameBtn.hide())
            }
        }),
        cc._RF.pop()
    },
    {
        BaseManager: "BaseManager"
    }],
    TelantNode: [function(t, e, o) {
        "use strict";
        cc._RF.push(e, "e292e8eidNDkZyVtaLqCYVC", "TelantNode"),
        Object.defineProperty(o, "__esModule", {
            value: !0
        });
        var n = t("../../utils/GameManager"),
        i = t("../../utils/AudioMgr"),
        a = t("../../utils/myConfigManager"),
        r = t("../../data/weaponConfig"),
        s = t("../../utils/Emitter"),
        c = cc._decorator,
        l = c.ccclass,
        d = c.property,
        u = function(t) {
            function e() {
                var e = null !== t && t.apply(this, arguments) || this;
                return e.itemRoot = null,
                e.curLvlabel = null,
                e.pricelabel = null,
                e.lightBox = null,
                e.InfoTips = null,
                e.upBtnNode = null,
                e.equipEffect = null,
                e._curLevel = 0,
                e._curPrice = 0,
                e._recordName = [],
                e._delayTime = 20,
                e._curIndex = 0,
                e._effectAct = null,
                e
            }
            return __extends(e, t),
            e.prototype.onEnable = function() {
                this._effectAct && (this._effectAct.stop(), this._effectAct = null),
                this.equipEffect.node.active = !1,
                this.lightBox.active = !1,
                this.upPriceLabel()
            },
            e.prototype.start = function() {
                this.initBtnEvent()
            },
            e.prototype.initBtnEvent = function() {
                var t = this;
                this.itemRoot.children.forEach(function(e, o) {
                    if (!e.getComponent(cc.Button)) {
                        var n = new cc.Component.EventHandler;
                        n.target = t.node,
                        n.component = "TelantNode",
                        n.handler = "selectItemBtn",
                        n.customEventData = o + "",
                        e.addComponent(cc.Button).clickEvents.push(n)
                    }
                })
            },
            e.prototype.selectItemBtn = function(t, e) {
                this.showRuneTips(e, t.target)
            },
            e.prototype.upPriceLabel = function() {
                for (var t = n.
            default.getInstance().getData("selfTelantList"), e = 0, o = this._recordName, i = 0; i < t.length; i++) {
                    var a = this.itemRoot.children[i],
                    r = t[i],
                    s = a.getChildByName("name").getComponent(cc.Label);
                    o.push(s.string),
                    s.string = r <= 0 ? "\u672a\u89e3\u9501": o[i],
                    a.getChildByName("lv").getComponent(cc.Label).string = "lv" + r,
                    a.getChildByName("lock").active = r <= 0,
                    e += r
                }
                0 == this._recordName.length && (this._recordName = o),
                this._curLevel = e;
                var c = n.
            default.getInstance().getData("selfLv") - e,
                l = "\u7b49\u7ea7\u4e0d\u8db3";
                if (c > 0) {
                    var d = 500 * (e + 1);
                    this._curPrice = d,
                    l = cc.js.formatStr("<color=#ffffff>\u89e3\u9501</color><img src='icon_powder' /><color=#ffffff>%s</color>", d)
                }
                this.upBtnNode.interactable = c > 0,
                this.pricelabel.string = l,
                this.curLvlabel.string = "\u5f53\u524d\u7b49\u7ea7" + e
            },
            e.prototype.upgradeBtnCall = function() {
                this._effectAct && (this._effectAct.stop(), this._effectAct = null, this.upPriceLabel()),
                i.
            default.getInstance().playButton();
                var t = n.
            default.getInstance().getData("selfGold");
                if (this._curPrice <= t) if (n.
            default.getInstance().getData("selfLv") > this._curLevel) {
                    var e = n.
                default.getInstance().getData("selfTelantList"),
                    o = Math.floor(Math.random() * e.length);
                    e[o]++,
                    n.
                default.getInstance().setData("selfTelantList", e),
                    t -= this._curPrice,
                    n.
                default.getInstance().setData("selfGold", t),
                    this.doSelectAct(o)
                } else n.
            default.getInstance().showToast("\u73a9\u5bb6\u7b49\u7ea7\u4e0d\u8db3,\u8bf7\u5347\u7ea7");
                else n.
            default.getInstance().showToast("\u53bb\u5546\u5e97\u8d2d\u4e70\uff1f", "\u5b9d\u77f3\u7c89\u4e0d\u8db3",
                function() {
                    s.
                default.getInstance().emit("onSelectNode", 0),
                    s.
                default.getInstance().emit("showUI", {
                        name: "shop",
                        index: 4
                    })
                })
            },
            e.prototype.doSelectAct = function(t) {
                var e = this,
                o = this.itemRoot.children.length;
                this.lightBox.active = !0;
                var n = 10 * o + t + 1;
                this._effectAct = cc.tween({
                    a: 0
                }).to(5, {
                    a: n
                },
                {
                    progress: function(t, a, r, s) {
                        var c = Math.floor(r) % o,
                        l = e.itemRoot.children[c];
                        return e.lightBox.setPosition(l.getPosition()),
                        Math.round(r) == n && e.lightBox.active && (e.lightBox.active = !1, e.equipEffect.node.setPosition(e.lightBox.getPosition()), e.equipEffect.node.active = !0, e.equipEffect.playAnimation("Sprite", 1), i.
                    default.getInstance().playSFX("unlock_skill"), e.upPriceLabel()),
                        t + (a - t) * (--s * s * s + 1)
                    }
                }).delay(1).call(function() {
                    e.equipEffect.node.active = !1,
                    e.lightBox.active = !1,
                    e._effectAct = null
                }),
                this._effectAct.start()
            },
            e.prototype.showRuneTips = function(t, e) {
                var o = this,
                i = n.
            default.getInstance().getData("selfTelantList");
                if (! (i[t] <= 0)) {
                    this.InfoTips.stopAllActions();
                    var s = r.talentPropertyList[t],
                    c = a.
                default.getInstance().getTipsFromPro(s.kind),
                    l = s.
                default * i[t];
                    l = parseFloat(l.toFixed(2));
                    var d = cc.js.formatStr(c, l),
                    u = e.convertToWorldSpaceAR(cc.v2()),
                    h = 1;
                    u.x > .8 * cc.winSize.width && (h = -1),
                    this.InfoTips.scale = 0,
                    this.InfoTips.active = !0;
                    var p = this.InfoTips.parent.convertToNodeSpaceAR(u);
                    p = p.add(cc.v2(20, 20)),
                    this.InfoTips.setPosition(p),
                    this.InfoTips.children[0].scale = h,
                    this.InfoTips.getComponentInChildren(cc.Label).string = d,
                    cc.tween(this.InfoTips).to(.1, {
                        scale: 1 * h
                    }).delay(2).call(function() {
                        o.InfoTips.active = !1
                    }).start()
                }
            },
            e.prototype.update = function() {},
            __decorate([d(cc.Node)], e.prototype, "itemRoot", void 0),
            __decorate([d(cc.Label)], e.prototype, "curLvlabel", void 0),
            __decorate([d(cc.RichText)], e.prototype, "pricelabel", void 0),
            __decorate([d(cc.Node)], e.prototype, "lightBox", void 0),
            __decorate([d(cc.Node)], e.prototype, "InfoTips", void 0),
            __decorate([d(cc.Button)], e.prototype, "upBtnNode", void 0),
            __decorate([d(dragonBones.ArmatureDisplay)], e.prototype, "equipEffect", void 0),
            __decorate([l], e)
        } (cc.Component);
        o.
    default = u,
        cc._RF.pop()
    },
    {
        "../../data/weaponConfig": "weaponConfig",
        "../../utils/AudioMgr": "AudioMgr",
        "../../utils/Emitter": "Emitter",
        "../../utils/GameManager": "GameManager",
        "../../utils/myConfigManager": "myConfigManager"
    }],
    TemptSkill: [function(t, e, o) {
        "use strict";
        cc._RF.push(e, "bcd5eY1iJlEo5jubAP6JFHO", "TemptSkill"),
        Object.defineProperty(o, "__esModule", {
            value: !0
        });
        var n = t("../data/enemyInfoEnum"),
        i = t("../utils/Emitter"),
        a = t("../utils/myConfigManager"),
        r = t("./CommonSkill"),
        s = cc._decorator,
        c = s.ccclass,
        l = (s.property,
        function(t) {
            function e() {
                return null !== t && t.apply(this, arguments) || this
            }
            return __extends(e, t),
            e.prototype.onLoad = function() {
                this.initSkill(this)
            },
            e.prototype.doSkill = function(t, e) {
                var o = this;
                return new Promise(function(i) {
                    var a = o.getComponent("BaseEnemy")._spineAct;
                    cc.tween(o.node).call(function() {
                        a.setAnimation(0, "Skill01", !1)
                    }).delay(1).call(function() {
                        100 * Math.random() < 50 ? o.addEnemy() : o.addSkill(t, e),
                        i(n.soldierSkillKind.none)
                    }).start()
                })
            },
            e.prototype.addEnemy = function() {
                var t = Math.floor(6 * Math.random()) + 1,
                e = this.getComponent("BaseEnemy")._enemyPro; (e = JSON.parse(JSON.stringify(e))).hp = Math.round(.1 * e.hp),
                e.hurt = Math.round(.1 * e.hurt),
                e.skillspeed = .1 * e.skillspeed,
                i.
            default.getInstance().emit("addOtherEnemy", {
                    id: t,
                    pos: this.node.getPosition(),
                    data: e
                })
            },
            e.prototype.addSkill = function(t, e) {
                var o = this.node.getPosition().clone();
                o.y += 100;
                var n = e,
                r = a.
            default.getInstance().getNameBySkillPrefabKind(this.mySkillprafabSkill);
                i.
            default.getInstance().emit("launch_Skill", {
                    name: r,
                    startPos: o,
                    toPos: n,
                    maxDis: this.maxTrigger,
                    hit: 0,
                    kind: 1
                })
            },
            __decorate([c], e)
        } (r.
    default));
        o.
    default = l,
        cc._RF.pop()
    },
    {
        "../data/enemyInfoEnum": "enemyInfoEnum",
        "../utils/Emitter": "Emitter",
        "../utils/myConfigManager": "myConfigManager",
        "./CommonSkill": "CommonSkill"
    }],
    TimeCtlBtn: [function(t, e, o) {
        "use strict";
        cc._RF.push(e, "00ed8GHfvlOUbxG7fT5plK0", "TimeCtlBtn"),
        Object.defineProperty(o, "__esModule", {
            value: !0
        });
        var n = t("../../data/shopConfig"),
        i = t("../../data/weaponConfig"),
        a = t("../../utils/AudioMgr"),
        r = t("../../utils/GameManager"),
        s = t("../../utils/wyxTools"),
        c = cc._decorator,
        l = c.ccclass,
        d = c.property,
        u = function(t) {
            function e() {
                var e = null !== t && t.apply(this, arguments) || this;
                return e.myButton = null,
                e.videoIcon = null,
                e.timeLabel = null,
                e.limitTime = 300,
                e.limitCount = 3,
                e.kindCtl = 1,
                e._curTime = 0,
                e._curCount = 0,
                e
            }
            return __extends(e, t),
            e.prototype.onLoad = function() {
                this.schedule(this.upDownTime, 1)
            },
            e.prototype.onEnable = function() {
                var t = s.
            default.getIntData("timectl_day" + this.kindCtl),
                e = (new Date).getDate();
                t != e && (s.
            default.setData("timectl_time" + this.kindCtl, 0), s.
            default.setData("timectl_count" + this.kindCtl, 0), s.
            default.setData("timectl_day" + this.kindCtl, e)),
                this.refreshUI()
            },
            e.prototype.refreshUI = function() {
                var t = Math.floor(.001 * (new Date).getTime()),
                e = s.
            default.getIntData("timectl_time" + this.kindCtl);
                if (this._curCount = s.
            default.getIntData("timectl_count" + this.kindCtl), this._curCount > this.limitCount || !cc.adCtl.testM4399T()) return this._curTime = -1,
                this.timeLabel.string = "\u660e\u5929\u518d\u6765",
                void this.closeBtn();
                t - e > this.limitTime ? this.openBtn() : (this._curTime = this.limitTime - t + e, this.upDownTime(), this.closeBtn())
            },
            e.prototype.closeBtn = function() {
                this.videoIcon && (this.videoIcon.active = !1),
                this.timeLabel.node.active = !0,
                this.myButton.interactable = !1
            },
            e.prototype.openBtn = function() {
                this.videoIcon && (this.videoIcon.active = !0),
                this.timeLabel.node.active = !1,
                this.timeLabel.string = this._curCount + "/3",
                this.myButton.interactable = !0
            },
            e.prototype.doBtnCall = function() {
                a.
            default.getInstance().playButton();
                var t = this;
                cc.adCtl.showVideo(function(e) {
                    if (1 == e) {
                        t._curCount++;
                        var o = Math.floor(.001 * (new Date).getTime());
                        if (s.
                    default.setData("timectl_time" + t.kindCtl, o), s.
                    default.setData("timectl_count" + t.kindCtl, t._curCount), t.refreshUI(), 1 == t.kindCtl) r.
                    default.getInstance().getAwardsByKind({
                            awardId:
                            n.myAwardEnum.gold,
                            num: 2e3
                        },
                        !0),
                        cc.adCtl.umengEvent("home_freegold");
                        else if (2 == t.kindCtl) {
                            cc.adCtl.umengEvent("home_rune");
                            for (var a = [], c = 0; c < 4; c++) {
                                var l = Math.floor(Math.random() * i.RuneInfoConfig.length),
                                d = Math.floor(5 * Math.random()) + 1;
                                a.push({
                                    awardId: n.myAwardEnum.rune,
                                    data: {
                                        kind: l,
                                        lv: d
                                    }
                                })
                            }
                            var u = r.
                        default.getInstance().getAwardsByKind(a, !1);
                            u && r.
                        default.getInstance().getMyPrefab("viewPrefabs/openBoxEffect").then(function(t) {
                                var e = cc.instantiate(t);
                                e.getComponent("openBoxEffect").setBoxKind(2),
                                e.getComponent("openBoxEffect").setAwardKind(n.myAwardEnum.rune, u),
                                cc.find("Canvas").addChild(e)
                            })
                        }
                    }
                })
            },
            e.prototype.upDownTime = function() {
                if (this._curTime > 0) {
                    this._curTime--;
                    var t = this._curTime,
                    e = Math.floor(t / 60),
                    o = Math.floor(e / 60),
                    n = Math.floor(t % 60),
                    i = o >= 10 ? o + "": "0" + o,
                    a = e >= 10 ? e + "": "0" + e,
                    r = n >= 10 ? n + "": "0" + n;
                    this.timeLabel.string = i + ":" + a + ":" + r,
                    this._curTime <= 0 && this.openBtn()
                }
            },
            __decorate([d(cc.Button)], e.prototype, "myButton", void 0),
            __decorate([d(cc.Node)], e.prototype, "videoIcon", void 0),
            __decorate([d(cc.Label)], e.prototype, "timeLabel", void 0),
            __decorate([d({
                tooltip: "\u9650\u5236\u65f6\u95f4 \u79d2"
            })], e.prototype, "limitTime", void 0),
            __decorate([d({
                tooltip: "\u9650\u5236\u6b21\u6570"
            })], e.prototype, "limitCount", void 0),
            __decorate([d], e.prototype, "kindCtl", void 0),
            __decorate([l], e)
        } (cc.Component);
        o.
    default = u,
        cc._RF.pop()
    },
    {
        "../../data/shopConfig": "shopConfig",
        "../../data/weaponConfig": "weaponConfig",
        "../../utils/AudioMgr": "AudioMgr",
        "../../utils/GameManager": "GameManager",
        "../../utils/wyxTools": "wyxTools"
    }],
    ToastNode: [function(t, e, o) {
        "use strict";
        cc._RF.push(e, "a59094P2ddBs7W2aBjAjSAz", "ToastNode"),
        Object.defineProperty(o, "__esModule", {
            value: !0
        });
        var n = t("../utils/AudioMgr"),
        i = cc._decorator,
        a = i.ccclass,
        r = i.property,
        s = function(t) {
            function e() {
                var e = null !== t && t.apply(this, arguments) || this;
                return e.titlelabel = null,
                e.deslabel = null,
                e.myCloseBtn = null,
                e._callBack = null,
                e
            }
            return __extends(e, t),
            e.prototype.setString = function(t, e) {
                this.titlelabel.string = t,
                this.deslabel.string = e
            },
            e.prototype.setCallBack = function(t) {
                this._callBack = t,
                this._callBack && (this.myCloseBtn.active = !0)
            },
            e.prototype.onLoad = function() {
                n.
            default.getInstance().playSFX("tipsEffect")
            },
            e.prototype.trueBtn = function() {
                n.
            default.getInstance().playButton(),
                this._callBack && this._callBack(),
                this.node.getComponent("windowOpenEffect").closePanel()
            },
            e.prototype.closeBtn = function() {
                n.
            default.getInstance().playButton(),
                this.node.getComponent("windowOpenEffect").closePanel()
            },
            __decorate([r(cc.Label)], e.prototype, "titlelabel", void 0),
            __decorate([r(cc.Label)], e.prototype, "deslabel", void 0),
            __decorate([r(cc.Node)], e.prototype, "myCloseBtn", void 0),
            __decorate([a], e)
        } (cc.Component);
        o.
    default = s,
        cc._RF.pop()
    },
    {
        "../utils/AudioMgr": "AudioMgr"
    }],
    TrailManager: [function(t, e, o) {
        "use strict";
        cc._RF.push(e, "3a0b0PzSulEWq3HAw9wzZtO", "TrailManager"),
        Object.defineProperty(o, "__esModule", {
            value: !0
        });
        var n = t("../utils/Emitter"),
        i = cc._decorator,
        a = i.ccclass,
        r = i.property,
        s = function(t) {
            function e() {
                var e = null !== t && t.apply(this, arguments) || this;
                return e.trailNode = null,
                e._trailPool = null,
                e
            }
            return __extends(e, t),
            e.prototype.onLoad = function() {
                this._trailPool = new cc.NodePool;
                for (var t = 0; t < 50; ++t) {
                    var e = cc.instantiate(this.trailNode);
                    this._trailPool.put(e)
                }
                n.
            default.getInstance().on("Recycle_trail", this.recycleTrail, this)
            },
            e.prototype.onDestroy = function() {
                n.
            default.getInstance().off("Recycle_trail", this)
            },
            e.prototype.recycleTrail = function(t) {
                this._trailPool.put(t.node)
            },
            e.prototype.getActorBullet = function() {
                var t = null;
                if (this._trailPool.size() > 0) t = this._trailPool.get();
                else {
                    var e = cc.instantiate(this.trailNode);
                    this._trailPool.put(e),
                    t = this._trailPool.get()
                }
                return t.active = !0,
                this.node.addChild(t),
                t
            },
            __decorate([r(cc.Node)], e.prototype, "trailNode", void 0),
            __decorate([a], e)
        } (cc.Component);
        o.
    default = s,
        cc._RF.pop()
    },
    {
        "../utils/Emitter": "Emitter"
    }],
    TutorialEnum: [function(t, e, o) {
        "use strict";
        cc._RF.push(e, "bf729qNJalOPJAgv2Y7oEXN", "TutorialEnum"),
        Object.defineProperty(o, "__esModule", {
            value: !0
        }),
        o.TutorialEnum = void 0,
        function(t) {
            t[t.none = 0] = "none",
            t[t.step_main = 1] = "step_main",
            t[t.step_select_skill = 2] = "step_select_skill",
            t[t.step_fx = 3] = "step_fx",
            t[t.step_sb = 4] = "step_sb",
            t[t.step_get_sl = 5] = "step_get_sl",
            t[t.step_do_sl = 6] = "step_do_sl",
            t[t.step_get_key = 7] = "step_get_key",
            t[t.step_to_shop1 = 8] = "step_to_shop1",
            t[t.step_to_shop2 = 9] = "step_to_shop2",
            t[t.step_to_shop3 = 10] = "step_to_shop3",
            t[t.step_to_equip1 = 11] = "step_to_equip1",
            t[t.step_select_equip1 = 12] = "step_select_equip1",
            t[t.step_select_equip2 = 13] = "step_select_equip2",
            t[t.step_suit_equip1 = 14] = "step_suit_equip1",
            t[t.step_select_equip3 = 15] = "step_select_equip3",
            t[t.step_suit_equip2 = 16] = "step_suit_equip2",
            t[t.step_select_equip4 = 17] = "step_select_equip4",
            t[t.step_to_talent = 18] = "step_to_talent",
            t[t.step_select_talent1 = 19] = "step_select_talent1",
            t[t.step_to_rune1 = 20] = "step_to_rune1",
            t[t.step_to_rune2 = 21] = "step_to_rune2",
            t[t.step_comp_rune1 = 22] = "step_comp_rune1",
            t[t.step_comp_rune2 = 23] = "step_comp_rune2",
            t[t.step_comp_rune3 = 24] = "step_comp_rune3",
            t[t.step_comp_rune4 = 25] = "step_comp_rune4",
            t[t.step_comp_rune5 = 26] = "step_comp_rune5",
            t[t.step_comp_rune6 = 27] = "step_comp_rune6",
            t[t.step_comp_rune7 = 28] = "step_comp_rune7",
            t[t.step_select_rune = 29] = "step_select_rune",
            t[t.step_in_rune = 30] = "step_in_rune",
            t[t.step_to_war1 = 31] = "step_to_war1"
        } (o.TutorialEnum || (o.TutorialEnum = {})),
        cc._RF.pop()
    },
    {}],
    TutorialView: [function(t, e, o) {
        "use strict";
        cc._RF.push(e, "27632oKKSlCsJhP4lIDWLl4", "TutorialView"),
        Object.defineProperty(o, "__esModule", {
            value: !0
        });
        var n = t("../data/shopConfig"),
        i = t("../utils/Emitter"),
        a = t("../utils/GameManager"),
        r = t("./TutorialEnum"),
        s = t("../utils/myConfigManager"),
        c = cc._decorator,
        l = c.ccclass,
        d = c.property,
        u = function(t) {
            function e() {
                var e = null !== t && t.apply(this, arguments) || this;
                return e.rootNode = null,
                e.maskNode = null,
                e.fingerNode = null,
                e.tiperNode = null,
                e.bgNode = null,
                e.tipsRoot = null,
                e.tipsLabel = null,
                e._step = {},
                e._curNode = [],
                e._curStepData = null,
                e._isWait = !1,
                e._isTouchStart = !1,
                e
            }
            return __extends(e, t),
            e.prototype.onLoad = function() {
                var t, e = cc.winSize;
                if (this._getTutorialData() > 0 && this._getTutorialData() < r.TutorialEnum.step_to_shop2) {
                    if (0 == a.
                default.getInstance().getData("selfEquipList").length) {
                        var o = s.
                    default.getInstance().getWeaponByKind(n.myAwardEnum.weapon, 1, 1, 5),
                        c = [];
                        c.push({
                            awardId: o.kind,
                            data: o
                        }),
                        c.push({
                            awardId: n.myAwardEnum.goldKey,
                            num: 1
                        }),
                        c.push({
                            awardId: n.myAwardEnum.rune,
                            data: {
                                kind: 2,
                                lv: 1
                            }
                        }),
                        c.push({
                            awardId: n.myAwardEnum.rune,
                            data: {
                                kind: 2,
                                lv: 1
                            }
                        }),
                        c.push({
                            awardId: n.myAwardEnum.rune,
                            data: {
                                kind: 2,
                                lv: 1
                            }
                        }),
                        a.
                    default.getInstance().getAwardsByKind(c, !1)
                    }
                    cc.sys.localStorage.setItem("EndlessBoundary_tutorialStep", r.TutorialEnum.step_get_key),
                    this.rootNode.active = !0,
                    this._closeUI()
                } else this._getTutorialData() >= r.TutorialEnum.step_to_shop2 && cc.sys.localStorage.setItem("EndlessBoundary_tutorialStep", -1); - 1 == this._getTutorialData() ? this.node.removeFromParent() : (a.
            default.getInstance()._tutorialNode = this, cc.game.addPersistRootNode(this.node)),
                this._step = ((t = {})[r.TutorialEnum.step_main] = {
                    node: [],
                    kind: "touch",
                    title: "\u6bcf\u6b21\u5347\u7ea7\u53ef\u4ee5\u57283\u4e2a\u6280\u80fd\u4e2d\u9009\u62e9\u4e00\u4e2a\uff0c\u6839\u636e\u4e0d\u540c\u7684\u6218\u6597\u65b9\u5f0f\u8fdb\u884c\u642d\u914d\u70b9\u51fb",
                    tiperPos: cc.v2(.3 * -e.width, .3 * -e.height),
                    winDir: 1,
                    isCont: !0,
                    delay: 2
                },
                t[r.TutorialEnum.step_select_skill] = {
                    node: ["Canvas/UIManager/levelSkillSelect/rootNode/item1"],
                    kind: "button",
                    title: "",
                    tiperPos: cc.v2(.3 * -e.width, .3 * -e.height),
                    winDir: 1,
                    isCont: !0,
                    delay: .5
                },
                t[r.TutorialEnum.step_fx] = {
                    node: ["Canvas/UIManager/control/btn_move_left", "Canvas/UIManager/control/btn_move_right"],
                    kind: "touch",
                    title: "\u65b9\u5411\u952e\uff0c\u63a7\u5236\u89d2\u8272\u7684\u9762\u5411\u4e0e\u79fb\u52a8\u65b9\u5411",
                    tiperPos: cc.v2(.3 * e.width, .3 * -e.height),
                    winDir: -1,
                    isCont: !0,
                    delay: 0
                },
                t[r.TutorialEnum.step_sb] = {
                    node: ["Canvas/UIManager/control/btn_skill"],
                    kind: "touch",
                    title: "\u95ea\u907f\uff0c\u5411\u524d\u65b9\u51b2\u523a\u4e00\u6bb5\u8ddd\u79bb\u5e76\u4e14\u77ed\u6682\u7684\u65e0\u654c\uff0c\u5728\u9002\u5f53\u65f6\u673a\u91ca\u653e\u6765\u89c4\u907f\u4f24\u5bb3",
                    tiperPos: cc.v2(.3 * -e.width, .3 * -e.height),
                    winDir: 1,
                    isCont: !1,
                    delay: 0,
                    nextDo: {
                        node: "Canvas/UIManager/aboveVIew",
                        handle: "aboveBarMgr",
                        func: "doNextLevel"
                    }
                },
                t[r.TutorialEnum.step_get_sl] = {
                    node: ["Canvas/UIManager/control/btn_timer"],
                    kind: "touch",
                    title: "\u770b\u6765\u4f60\u638c\u63e1\u4e86\u57fa\u672c\u7684\u64cd\u4f5c\uff0c\u6211\u8fd9\u6709\u4e2a\u6c99\u6f0f\uff0c\u53ef\u4ee5\u77ed\u6682\u7684\u63a7\u5236\u65f6\u95f4\uff0c\u6211\u628a\u4ed6\u9001\u7ed9\u4f60\u4e86",
                    tiperPos: cc.v2(.3 * -e.width, .2 * -e.height),
                    winDir: 1,
                    isCont: !1,
                    delay: 0,
                    action: "_showAction1",
                    nextDo: {
                        node: null,
                        handle: null,
                        func: "_showShalou"
                    }
                },
                t[r.TutorialEnum.step_do_sl] = {
                    node: ["Canvas/UIManager/control/btn_timer"],
                    kind: "button",
                    title: "\u6765\u654c\u4eba\u4e86,\u5feb\u4f7f\u7528\u6c99\u6f0f",
                    tiperPos: cc.v2(.3 * -e.width, .3 * -e.height),
                    winDir: 1,
                    isCont: !1,
                    delay: 0,
                    nextDo: {
                        node: null,
                        handle: null,
                        func: "_showAction2"
                    }
                },
                t[r.TutorialEnum.step_get_key] = {
                    node: [],
                    kind: "touch",
                    title: "\u54c7,\u91d1\u8272\u94a5\u5319,\u6211\u4eec\u5feb\u56de\u9996\u9875\u6253\u5f00\u5b9d\u7bb1,\u91cc\u9762\u4e00\u5b9a\u6709\u5f88\u68d2\u7684\u8d22\u5b9d",
                    tiperPos: cc.v2(.3 * -e.width, .2 * -e.height),
                    winDir: 1,
                    isCont: !1,
                    delay: 0,
                    action: "_showAction3"
                },
                t[r.TutorialEnum.step_to_shop1] = {
                    node: ["Canvas/selectNode/main_shop"],
                    kind: "button",
                    title: "\u5feb\u70b9\u51fb\u5546\u5e97,\u6211\u90fd\u7b49\u4e0d\u53ca\u4e86!",
                    tiperPos: cc.v2(.3 * e.width, .3 * -e.height),
                    winDir: -1,
                    isCont: !0,
                    delay: .5
                },
                t[r.TutorialEnum.step_to_shop2] = {
                    node: ["Canvas/content/shopNode/equipNode/buy_equip_2/com_btn1"],
                    kind: "button",
                    title: "\u6d88\u8017\u94a5\u5319\u8fdb\u884c\u88c5\u5907\u62bd\u53d6",
                    tiperPos: cc.v2(.3 * -e.width, .3 * -e.height),
                    winDir: 1,
                    isCont: !0,
                    delay: 5
                },
                t[r.TutorialEnum.step_to_shop3] = {
                    node: ["Canvas/equipInfoNode_s/equipRoot/main_close"],
                    kind: "button",
                    title: "\u8fd9\u88c5\u5907\u770b\u8d77\u6765\u771f\u4e0d\u9519,\u6211\u4eec\u5feb\u53bb\u88c5\u5907\u4e0a",
                    tiperPos: cc.v2(.3 * -e.width, .3 * -e.height),
                    winDir: 1,
                    isCont: !0,
                    delay: .5
                },
                t[r.TutorialEnum.step_to_equip1] = {
                    node: ["Canvas/selectNode/main_weapon"],
                    kind: "button",
                    title: "\u70b9\u51fb\u88c5\u5907\u9875\u9762",
                    tiperPos: cc.v2(.3 * e.width, .3 * -e.height),
                    winDir: -1,
                    isCont: !0,
                    delay: .5
                },
                t[r.TutorialEnum.step_select_equip1] = {
                    node: ["Canvas/content/warehouseNode/warehouseFrame/warehouse_2/equipScrollView/view/content/item0"],
                    kind: "button",
                    title: "\u70b9\u51fb\u88c5\u5907\u56fe\u6807\u53ef\u4ee5\u8fdb\u884c\u88c5\u5907",
                    tiperPos: cc.v2(.3 * -e.width, .3 * -e.height),
                    winDir: 1,
                    isCont: !0,
                    delay: 1
                },
                t[r.TutorialEnum.step_select_equip2] = {
                    node: ["Canvas/equipInfoNode/equipRoot/btnRoot/root1/equip_btn2"],
                    kind: "button",
                    title: "\u70b9\u51fb\u88c5\u5907",
                    tiperPos: cc.v2(.3 * e.width, .3 * -e.height),
                    winDir: -1,
                    isCont: !0,
                    delay: .5
                },
                t[r.TutorialEnum.step_suit_equip1] = {
                    node: [],
                    kind: "touch",
                    title: "\u76f8\u540c\u6807\u5fd7\u7684\u88c5\u5907\u53ef\u4ee5\u6fc0\u6d3b\u5957\u88c5\u5c5e\u6027\uff0c\u5584\u7528\u5957\u88c5\u53ef\u4ee5\u4f7f\u6218\u6597\u53d8\u7684\u66f4\u7b80\u5355,\u6211\u4eec\u5df2\u7ecf\u6709\u76f8\u540c\u7684\u5957\u88c5\u4e86,\u53bb\u88c5\u5907\u4e0a\u770b\u770b!",
                    tiperPos: cc.v2(.3 * e.width, .3 * -e.height),
                    winDir: -1,
                    isCont: !0,
                    delay: .5
                },
                t[r.TutorialEnum.step_select_equip3] = {
                    node: ["Canvas/content/warehouseNode/warehouseFrame/warehouse_2/equipScrollView/view/content/item0"],
                    kind: "button",
                    title: "\u70b9\u51fb\u88c5\u5907\u56fe\u6807\u53ef\u4ee5\u8fdb\u884c\u88c5\u5907",
                    tiperPos: cc.v2(.3 * -e.width, .3 * -e.height),
                    winDir: 1,
                    isCont: !0,
                    delay: 1
                },
                t[r.TutorialEnum.step_suit_equip2] = {
                    node: ["Canvas/equipInfoNode/equipRoot/proScrollView"],
                    kind: "touch",
                    title: "\u8fd9\u91cc\u5c31\u662f\u5957\u88c5\u4fe1\u606f\u4e86,\u88c5\u5907\u4e4b\u540e\u53ef\u4ee5\u6fc0\u6d3b\u4e24\u4ef6\u5957\u5c5e\u6027\u4e86",
                    tiperPos: cc.v2(.3 * e.width, .3 * -e.height),
                    winDir: -1,
                    isCont: !0,
                    delay: .5
                },
                t[r.TutorialEnum.step_select_equip4] = {
                    node: ["Canvas/equipInfoNode/equipRoot/btnRoot/root1/equip_btn2"],
                    kind: "button",
                    title: "\u70b9\u51fb\u88c5\u5907",
                    tiperPos: cc.v2(.3 * e.width, .3 * -e.height),
                    winDir: -1,
                    isCont: !0,
                    delay: 1
                },
                t[r.TutorialEnum.step_to_talent] = {
                    node: ["Canvas/selectNode/main_tianfu"],
                    kind: "button",
                    title: "\u63a5\u4e0b\u6765\u6211\u4eec\u53bb\u770b\u770b\u5929\u8d4b\u5427",
                    tiperPos: cc.v2(.3 * e.width, .3 * -e.height),
                    winDir: -1,
                    isCont: !0,
                    delay: .5
                },
                t[r.TutorialEnum.step_select_talent1] = {
                    node: ["Canvas/content/telantNode/com_btn2"],
                    kind: "button",
                    title: "\u6bcf\u6b21\u5347\u7ea7\u90fd\u53ef\u4ee5\u968f\u673a\u6fc0\u6d3b\u4e00\u4e2a\u5929\u8d4b\u6765\u589e\u52a0\u4f60\u7684\u57fa\u7840\u80fd\u529b,\u5feb\u8bd5\u8bd5\u5427",
                    tiperPos: cc.v2(.3 * e.width, .3 * -e.height),
                    winDir: -1,
                    isCont: !0,
                    delay: 5
                },
                t[r.TutorialEnum.step_to_rune1] = {
                    node: ["Canvas/selectNode/main_fuwen"],
                    kind: "button",
                    title: "\u5bf9\u4e86,\u6211\u4eec\u83b7\u5f97\u4e86\u7b26\u6587,\u5feb\u53bb\u7b26\u6587\u770b\u770b\u5427",
                    tiperPos: cc.v2(.3 * e.width, .3 * -e.height),
                    winDir: -1,
                    isCont: !0,
                    delay: .5
                },
                t[r.TutorialEnum.step_to_rune2] = {
                    node: ["Canvas/content/warehouseNode/content/RuneRoot/com_btn2"],
                    kind: "button",
                    title: "\u6bcf\u6b21\u5347\u7ea7\u53ef\u4ee5\u89e3\u9501\u4e00\u4e2a\u7b26\u6587\u683c\uff0c\u73b0\u5728\u6765\u89e3\u9501\u4f60\u7684\u7b2c\u4e00\u4e2a\u683c\u5b50",
                    tiperPos: cc.v2(.3 * e.width, .3 * -e.height),
                    winDir: -1,
                    isCont: !0,
                    delay: 1
                },
                t[r.TutorialEnum.step_comp_rune1] = {
                    node: ["Canvas/content/warehouseNode/warehouseFrame/warehouse_2/btnRoot/btn2"],
                    kind: "button",
                    title: "\u5dee\u70b9\u5fd8\u4e86,\u8fd8\u6709\u4e00\u4e2a\u5f88\u91cd\u8981\u7684\u529f\u80fd,\u63d0\u5347\u80fd\u529b\u53ef\u5c11\u4e0d\u4e86\u5b83,\u5feb\u53bb\u770b\u770b\u5427,\u70b9\u51fb\u5408\u6210",
                    tiperPos: cc.v2(.3 * -e.width, .3 * -e.height),
                    winDir: 1,
                    isCont: !0,
                    delay: .5
                },
                t[r.TutorialEnum.step_comp_rune2] = {
                    node: ["Canvas/content/warehouseNode/warehouseFrame/warehouse_2/equipScrollView/view/content/item0"],
                    kind: "button",
                    title: "\u76f8\u540c\u7684\u4e09\u4e2a\u7b26\u6587\u53ef\u4ee5\u8fdb\u884c\u5408\u6210\u5347\u7ea7,(\u76f8\u540c\u54c1\u8d28\u7684\u88c5\u5907\u4e5f\u53ef\u4ee5\u54e6),\u9009\u62e9\u7b2c\u4e00\u4e2a\u7b26\u6587",
                    tiperPos: cc.v2(.3 * -e.width, .3 * -e.height),
                    winDir: 1,
                    isCont: !0,
                    delay: .5
                },
                t[r.TutorialEnum.step_comp_rune3] = {
                    node: ["Canvas/content/warehouseNode/warehouseFrame/warehouse_2/equipScrollView/view/content/item1"],
                    kind: "button",
                    title: "\u9009\u62e9\u7b2c\u4e8c\u4e2a\u7b26\u6587",
                    tiperPos: cc.v2(.3 * -e.width, .3 * -e.height),
                    winDir: 1,
                    isCont: !0,
                    delay: .5
                },
                t[r.TutorialEnum.step_comp_rune4] = {
                    node: ["Canvas/content/warehouseNode/warehouseFrame/warehouse_2/equipScrollView/view/content/item2"],
                    kind: "button",
                    title: "\u9009\u62e9\u7b2c\u4e09\u4e2a\u7b26\u6587",
                    tiperPos: cc.v2(.3 * -e.width, .3 * -e.height),
                    winDir: 1,
                    isCont: !0,
                    delay: .5
                },
                t[r.TutorialEnum.step_comp_rune5] = {
                    node: ["Canvas/content/warehouseNode/content/compoundNode/Fusion_Bg/com_btn2"],
                    kind: "button",
                    title: "\u70b9\u51fb\u5408\u6210\u6309\u94ae",
                    tiperPos: cc.v2(.3 * e.width, .3 * -e.height),
                    winDir: -1,
                    isCont: !0,
                    delay: 4
                },
                t[r.TutorialEnum.step_comp_rune6] = {
                    node: ["Canvas/awardTipsNode/rootNode/com_btn2"],
                    kind: "button",
                    title: "\u5408\u6210\u4e86\u4e00\u4e2a\u66f4\u9ad8\u7ea7\u7684\u7b26\u6587",
                    tiperPos: cc.v2(.45 * e.width, .3 * -e.height),
                    winDir: -1,
                    isCont: !0,
                    delay: .5
                },
                t[r.TutorialEnum.step_comp_rune7] = {
                    node: ["Canvas/content/warehouseNode/content/compoundNode/Fusion_Bg/com_btn1"],
                    kind: "button",
                    title: "\u83b7\u5f97\u4e86\u4e00\u4e2a\u66f4\u9ad8\u54c1\u8d28\u7684\u7b26\u6587,\u6211\u4eec\u53bb\u88c5\u5907\u5b83",
                    tiperPos: cc.v2(.3 * e.width, .3 * -e.height),
                    winDir: -1,
                    isCont: !0,
                    delay: .5
                },
                t[r.TutorialEnum.step_select_rune] = {
                    node: ["Canvas/content/warehouseNode/warehouseFrame/warehouse_2/equipScrollView/view/content/item0"],
                    kind: "button",
                    title: "\u4f60\u5df2\u7ecf\u89e3\u9501\u4e86\u4e00\u4e2a\u683c\u5b50\uff0c\u73b0\u5728\u9009\u62e9\u4e00\u4e2a\u7b26\u6587",
                    tiperPos: cc.v2(.3 * -e.width, .3 * -e.height),
                    winDir: 1,
                    isCont: !0,
                    delay: .5
                },
                t[r.TutorialEnum.step_in_rune] = {
                    node: ["Canvas/content/warehouseNode/content/RuneRoot/Rune_frame/Rune_bg/rune1"],
                    kind: "button",
                    title: "\u518d\u70b9\u51fb\u89e3\u9501\u7684\u683c\u5b50\u53ef\u4ee5\u5c06\u7b26\u6587\u9576\u5d4c\uff0c\u70b9\u51fb\u5df2\u9576\u5d4c\u7684\u7b26\u6587\u53ef\u4ee5\u89e3\u9664\u9576\u5d4c",
                    tiperPos: cc.v2(.3 * e.width, .3 * -e.height),
                    winDir: -1,
                    isCont: !0,
                    delay: .5
                },
                t[r.TutorialEnum.step_to_war1] = {
                    node: ["Canvas/selectNode/main_war"],
                    kind: "button",
                    title: "\u73b0\u5728\u4f60\u5df2\u7ecf\u53d8\u5f97\u5341\u5206\u5f3a\u5927,\u5feb\u53bb\u5f00\u542f\u4f60\u7684\u5192\u9669\u5427",
                    tiperPos: cc.v2(.3 * e.width, .3 * -e.height),
                    winDir: -1,
                    isCont: !0,
                    delay: .5,
                    nextDo: {
                        node: null,
                        handle: null,
                        func: "_endStep"
                    }
                },
                t),
                this.bgNode.width = cc.winSize.width,
                this.bgNode.height = cc.winSize.height,
                this.rootNode.on(cc.Node.EventType.TOUCH_START, this._onTouched, this),
                this.rootNode.on(cc.Node.EventType.TOUCH_END, this._onClicked, this),
                i.
            default.getInstance().on("touch_tutorial", this.touchTutorial, this)
            },
            e.prototype.onDestroy = function() {
                i.
            default.getInstance().off("touch_tutorial", this)
            },
            e.prototype.touchTutorial = function(t) {
                console.log("touchTutorial", t.step),
                this._isWait = !1;
                var e = this._getTutorialData();
                this._curNode = [],
                t.step == e && (this.rootNode.active = !0, cc.sys.localStorage.setItem("EndlessBoundary_tutorialStep", e + 1), this.doStep())
            },
            e.prototype._onTouched = function(t) {
                if (!this._isWait) {
                    if (this._curNode.length > 0) for (var e = 0; e < this._curNode.length; e++) {
                        var o = this._curNode[e],
                        n = o.convertToWorldSpaceAR(cc.v2(0, 0));
                        if (cc.rect(n.x - .5 * o.width, n.y - .5 * o.height, o.width, o.height).contains(t.getLocation())) {
                            this.rootNode._touchListener.swallowTouches = !1;
                            break
                        }
                        this.rootNode._touchListener.swallowTouches = !0
                    } else this.rootNode._touchListener.swallowTouches = !0;
                    this._isTouchStart = !0
                }
            },
            e.prototype._onClicked = function(t) {
                if (!this._isWait && this._isTouchStart) {
                    if (this._isTouchStart = !1, this._curNode.length > 0) for (var e = 0; e < this._curNode.length; e++) {
                        var o = this._curNode[e],
                        n = o.convertToWorldSpaceAR(cc.v2(0, 0));
                        if (cc.rect(n.x - .5 * o.width, n.y - .5 * o.height, o.width, o.height).contains(t.getLocation())) {
                            this._doNextStep();
                            break
                        }
                    } else this._doNextStep();
                    this.scheduleOnce(function() {
                        this.rootNode._touchListener.swallowTouches = !0
                    },
                    .01)
                }
            },
            e.prototype._doNextStep = function() {
                var t = this._curStepData.nextDo;
                if (t) if (t.node) {
                    var e = cc.find(t.node).getComponent(t.handle);
                    e[t.func].call(e)
                } else this[t.func].call(this);
                this._closeUI();
                var o = this._getTutorialData();
                this._curStepData.isCont ? (this.maskNode._graphics.clear(), this.bgNode.active = !1, this._curStepData.delay > 0 ? (this._isWait = !0, this.scheduleOnce(function() {
                    this.touchTutorial({
                        step: o
                    })
                },
                this._curStepData.delay)) : this.touchTutorial({
                    step: o
                })) : this.rootNode.active = !1
            },
            e.prototype._getTutorialData = function() {
                var t = cc.sys.localStorage.getItem("EndlessBoundary_tutorialStep");
                return t && parseInt(t) || 0
            },
            e.prototype.doStep = function() {
                var t = this;
                this.maskNode._graphics.clear(),
                this.bgNode.active = !0;
                var e = this._getTutorialData();
                if (this._step.hasOwnProperty(e)) {
                    this.fingerNode.stopAllActions();
                    var o = this._step[e];
                    this._curStepData = o;
                    var n = cc.v2(),
                    i = cc.v2(),
                    a = cc.size(0, 0);
                    o.node.forEach(function(e, o) {
                        var r = cc.find(e);
                        if (r.active) {
                            var s = r.convertToWorldSpaceAR(cc.v2(0, 0)),
                            c = t.node.convertToNodeSpaceAR(cc.v2(s.x, s.y));
                            0 == o && t.fingerNode.setPosition(c),
                            t._curNode.push(r),
                            0 == o && (n = c, a.width = r.width, a.height = r.height),
                            i = c
                        }
                    }),
                    "touch" == o.kind && (this._curNode = []),
                    this.fingerNode.active = "button" == o.kind,
                    (i = i.sub(n)).x *= .5,
                    n = n.add(i),
                    this._addBox(n, 2 * i.x + a.width, a.height),
                    this.tiperNode.active = "" != this._curStepData.title,
                    this.tipsRoot.active = "" != this._curStepData.title,
                    this.tiperNode.setPosition(o.tiperPos);
                    var r = o.tiperPos.clone();
                    r.x += 200 * o.winDir,
                    r.y += 150,
                    this.tipsRoot.setPosition(r),
                    this.tipsRoot.getChildByName("arrow").x = 125 * o.winDir * -1,
                    this.tipsLabel.string = this._curStepData.title,
                    this._curStepData.action && this[this._curStepData.action].call(this)
                } else this.rootNode.active = !1
            },
            e.prototype._closeUI = function() {
                this.fingerNode.active = !1,
                this.tiperNode.active = !1,
                this.tipsRoot.active = !1,
                cc.find("root/action1", this.node).active = !1,
                cc.find("root/action2", this.node).active = !1
            },
            e.prototype._addBox = function(t, e, o) {
                var n = this;
                this._isWait = !0,
                this.maskNode._graphics.lineWidth = 1,
                this.maskNode._graphics.strokeColor = cc.color(255, 255, 255),
                this.maskNode._graphics.fillColor = cc.color(255, 255, 255),
                cc.tween({
                    a: 3
                }).to(.5, {
                    a: 1
                },
                {
                    progress: function(i, a, r, s) {
                        var c = e * r,
                        l = o * r;
                        return n.maskNode._graphics.clear(!1),
                        n.maskNode._graphics.rect(t.x - .5 * c, t.y - .5 * l, c, l),
                        n.maskNode._graphics.fill(),
                        n.maskNode._graphics.stroke(),
                        i + (a - i) * (--s * s * s + 1)
                    }
                }).call(function() {
                    n._isWait = !1
                }).start()
            },
            e.prototype._addCircle = function(t) {
                this.maskNode._graphics.lineWidth = 1,
                this.maskNode._graphics.strokeColor = cc.color(255, 255, 255),
                this.maskNode._graphics.fillColor = cc.color(255, 255, 255),
                this.maskNode._graphics.circle(t.x, t.y, 80),
                this.maskNode._graphics.fill(),
                this.maskNode._graphics.stroke()
            },
            e.prototype._addPosToPos = function(t, e) {
                this.maskNode._graphics.moveTo(t.x, t.y),
                this.maskNode._graphics.lineTo(e.x, e.y),
                this.maskNode._graphics.lineWidth = 150,
                this.maskNode._graphics.lineCap = cc.Graphics.LineCap.ROUND,
                this.maskNode._graphics.lineJoin = cc.Graphics.LineJoin.ROUND,
                this.maskNode._graphics.strokeColor = cc.color(255, 255, 255, 255),
                this.maskNode._graphics.stroke()
            },
            e.prototype._showShalou = function() {
                var t = cc.find(this._curStepData.node[0]);
                t && (t.active = !0)
            },
            e.prototype._showAction1 = function() {
                var t = this;
                this._isWait = !0;
                var e = cc.find("root/action1", this.node);
                e.active = !0;
                var o = e.getChildByName("root"),
                n = cc.find(this._curStepData.node[0]),
                i = n.convertToWorldSpaceAR(cc.v2(0, 0)),
                a = this.node.convertToNodeSpaceAR(cc.v2(i.x, i.y));
                cc.tween(o).delay(1).to(.5, {
                    position: a
                }).call(function() {
                    n.active = !0,
                    t._isWait = !1
                }).start()
            },
            e.prototype._showAction2 = function() {
                i.
            default.getInstance().emit("myGameControl", {
                    name: "gamePlayState",
                    state: !1
                })
            },
            e.prototype._showAction3 = function() {
                cc.find("root/action2", this.node).active = !0
            },
            e.prototype._endStep = function() {
                this.scheduleOnce(function() {
                    cc.sys.localStorage.setItem("EndlessBoundary_tutorialStep", -1),
                    cc.game.removePersistRootNode(this.node),
                    this.node.removeAllChildren(),
                    this.node.destroy(),
                    cc.find("Canvas").getComponent("HomeScene").initLoginAward()
                },
                .1)
            },
            __decorate([d(cc.Node)], e.prototype, "rootNode", void 0),
            __decorate([d(cc.Mask)], e.prototype, "maskNode", void 0),
            __decorate([d(cc.Node)], e.prototype, "fingerNode", void 0),
            __decorate([d(cc.Node)], e.prototype, "tiperNode", void 0),
            __decorate([d(cc.Node)], e.prototype, "bgNode", void 0),
            __decorate([d(cc.Node)], e.prototype, "tipsRoot", void 0),
            __decorate([d(cc.Label)], e.prototype, "tipsLabel", void 0),
            __decorate([l], e)
        } (cc.Component);
        o.
    default = u,
        cc._RF.pop()
    },
    {
        "../data/shopConfig": "shopConfig",
        "../utils/Emitter": "Emitter",
        "../utils/GameManager": "GameManager",
        "../utils/myConfigManager": "myConfigManager",
        "./TutorialEnum": "TutorialEnum"
    }],
    UCAdManager: [function(t, e) {
        "use strict";
        cc._RF.push(e, "6b6efmB0xlIprOsGWwZjiu/", "UCAdManager");
        var o = t("BaseManager");
        cc.Class({
            extends: o,
            ctor: function() {
                this._rewardedVideoAd = null,
                this._bannerAd = null
            },
            initSDK: function() {
                this.myAdChannel = "uc",
                window.uc && uc.requestScreenOrientation({
                    orientaiton: 2,
                    success: function(t) {
                        console.log(t)
                    },
                    fail: function(t) {
                        console.error(t)
                    }
                })
            },
            showVideo: function(t) {
                if (window.uc) {
                    var e = this;
                    e._rewardedVideoAd && e._rewardedVideoAd.offClose(),
                    e._rewardedVideoAd = uc.createRewardVideoAd(),
                    e._rewardedVideoAd.show().
                    catch(function() {
                        e._rewardedVideoAd.load().then(function() {
                            e._rewardedVideoAd.show()
                        }).
                        catch(function(t) {
                            return console.log(t)
                        })
                    }),
                    e._rewardedVideoAd.onClose(function(e) {
                        e && e.isEnded ? t && t(1) : t && t(0)
                    })
                }
            },
            showBanner: function() {
                if (window.uc) {
                    this._bannerAd && this._bannerAd.destroy(),
                    this._bannerAd = uc.createBannerAd({
                        style: {
                            width: 128,
                            gravity: 7
                        }
                    });
                    var t = this;
                    this._bannerAd.onLoad(function() {
                        console.log("Banner\u5e7f\u544a\u52a0\u8f7d\u6210\u529f"),
                        t._bannerAd.show()
                    }),
                    this._bannerAd.onError(function(t) {
                        console.log(t)
                    })
                }
            },
            hideBanner: function() {
                this._bannerAd && this._bannerAd.destroy(),
                this._bannerAd = null
            }
        }),
        cc._RF.pop()
    },
    {
        BaseManager: "BaseManager"
    }],
    UIManager: [function(t, e, o) {
        "use strict";
        cc._RF.push(e, "8708bl6Ca5CNask+tBdW4kK", "UIManager"),
        Object.defineProperty(o, "__esModule", {
            value: !0
        });
        var n = t("../utils/Emitter"),
        i = t("../utils/GameManager"),
        a = t("../view/gameui/customsIcon"),
        r = t("../utils/AudioMgr"),
        s = t("../utils/myConfigManager"),
        c = t("../data/weaponConfig"),
        l = t("../view/TutorialEnum"),
        d = cc._decorator,
        u = d.ccclass,
        h = d.property,
        p = function(t) {
            function e() {
                var e = null !== t && t.apply(this, arguments) || this;
                return e.leftMoveNode = null,
                e.rightMoveNode = null,
                e.rootMoveNode = null,
                e.dodgeNode = null,
                e.slowNode = null,
                e.pauseNode = null,
                e.waveTipsNode = null,
                e.myCustomsIcon = null,
                e.pausePrefab = null,
                e.resultPrefab = null,
                e.revivePrefab = null,
                e.lotteryPrefab = null,
                e.bossAppearHideUIList = [],
                e._dodgeTween = !1,
                e._slowTween = !1,
                e._reviveCount = 0,
                e
            }
            return __extends(e, t),
            e.prototype.onLoad = function() {
                this.initRootBtn(),
                this.initTimer(),
                this.initLvData(),
                i.
            default.getInstance().getTutorialData(l.TutorialEnum.none, l.TutorialEnum.step_to_war1) && (this.pauseNode.active = !1),
                this.initKeyCtl()
            },
            e.prototype.onDestroy = function() {
                this.offKeyCtl()
            },
            e.prototype.initKeyCtl = function() {
                cc.systemEvent.on(cc.SystemEvent.EventType.KEY_DOWN,
                function(t) {
                    this._keyHandler(t.keyCode, !0)
                },
                this),
                cc.systemEvent.on(cc.SystemEvent.EventType.KEY_UP,
                function(t) {
                    this._keyHandler(t.keyCode, !1)
                },
                this)
            },
            e.prototype.offKeyCtl = function() {
                cc.systemEvent.off(cc.SystemEvent.EventType.KEY_DOWN),
                cc.systemEvent.off(cc.SystemEvent.EventType.KEY_UP)
            },
            e.prototype._keyHandler = function(t, e) {
                if (!i.
            default.getInstance()._isGamePause) switch (t) {
                case cc.macro.KEY.a:
                case cc.macro.KEY.left:
                    n.
                default.getInstance().emit("onStateControl", {
                        nstate: "left",
                        isDown: e ? 1 : 0
                    });
                    break;
                case cc.macro.KEY.d:
                case cc.macro.KEY.right:
                    n.
                default.getInstance().emit("onStateControl", {
                        nstate: "right",
                        isDown: e ? 1 : 0
                    });
                    break;
                case cc.macro.KEY.j:
                    this.doSlowBtn(null, null);
                    break;
                case cc.macro.KEY.k:
                    this.doDodgeBtn(null, null);
                    break;
                default:
                    return
                }
            },
            e.prototype.initLvData = function() {
                this.myCustomsIcon.setDegreeCtl(0)
            },
            e.prototype.initTimer = function() {
                this.dodgeNode.getComponentInChildren(cc.ProgressBar).progress = 0,
                this.slowNode.getComponentInChildren(cc.ProgressBar).progress = 0,
                i.
            default.getInstance().getTutorialData(l.TutorialEnum.none, l.TutorialEnum.step_get_sl) && (this.slowNode.active = !1)
            },
            e.prototype.initRootBtn = function() {
                this.rootMoveNode.on(cc.Node.EventType.TOUCH_START,
                function(t) {
                    this.leftMoveNode.getBoundingBoxToWorld().contains(t.getLocation()) ? (n.
                default.getInstance().emit("onStateControl", {
                        nstate: "left",
                        isDown: 1
                    }), this.leftMoveNode.setScale(cc.v2(1.1, 1.1))) : this.rightMoveNode.getBoundingBoxToWorld().contains(t.getLocation()) && (n.
                default.getInstance().emit("onStateControl", {
                        nstate: "right",
                        isDown: 1
                    }), this.rightMoveNode.setScale(cc.v2( - 1.1, 1.1)))
                },
                this),
                this.rootMoveNode.on(cc.Node.EventType.TOUCH_MOVE,
                function(t) {
                    this.leftMoveNode.getBoundingBoxToWorld().contains(t.getLocation()) ? (n.
                default.getInstance().emit("onStateControl", {
                        nstate: "left",
                        isDown: 1
                    }), this.leftMoveNode.setScale(cc.v2(1.1, 1.1)), this.rightMoveNode.setScale(cc.v2( - 1, 1))) : this.rightMoveNode.getBoundingBoxToWorld().contains(t.getLocation()) ? (n.
                default.getInstance().emit("onStateControl", {
                        nstate: "right",
                        isDown: 1
                    }), this.rightMoveNode.setScale(cc.v2( - 1.1, 1.1)), this.leftMoveNode.setScale(cc.v2(1, 1))) : (this.leftMoveNode.setScale(cc.v2(1, 1)), this.rightMoveNode.setScale(cc.v2( - 1, 1)))
                },
                this),
                this.rootMoveNode.on(cc.Node.EventType.TOUCH_END,
                function() {
                    n.
                default.getInstance().emit("onStateControl", {
                        nstate: "left",
                        isDown: 0
                    }),
                    this.leftMoveNode.setScale(cc.v2(1, 1)),
                    n.
                default.getInstance().emit("onStateControl", {
                        nstate: "right",
                        isDown: 0
                    }),
                    this.rightMoveNode.setScale(cc.v2( - 1, 1))
                },
                this),
                this.rootMoveNode.on(cc.Node.EventType.TOUCH_CANCEL,
                function() {
                    n.
                default.getInstance().emit("onStateControl", {
                        nstate: "left",
                        isDown: 0
                    }),
                    this.leftMoveNode.setScale(cc.v2(1, 1)),
                    n.
                default.getInstance().emit("onStateControl", {
                        nstate: "right",
                        isDown: 0
                    }),
                    this.rightMoveNode.setScale(cc.v2( - 1, 1))
                },
                this)
            },
            e.prototype.initLeftBtn = function() {
                this.leftMoveNode.on(cc.Node.EventType.TOUCH_START,
                function() {
                    n.
                default.getInstance().emit("onStateControl", {
                        nstate: "left",
                        isDown: 1
                    }),
                    this.leftMoveNode.setScale(cc.v2(1.1, 1.1))
                },
                this),
                this.leftMoveNode.on(cc.Node.EventType.TOUCH_END,
                function() {
                    n.
                default.getInstance().emit("onStateControl", {
                        nstate: "left",
                        isDown: 0
                    }),
                    this.leftMoveNode.setScale(cc.v2(1, 1))
                },
                this),
                this.leftMoveNode.on(cc.Node.EventType.TOUCH_CANCEL,
                function() {
                    n.
                default.getInstance().emit("onStateControl", {
                        nstate: "left",
                        isDown: 0
                    }),
                    this.leftMoveNode.setScale(cc.v2(1, 1))
                },
                this)
            },
            e.prototype.initRightBtn = function() {
                this.rightMoveNode.on(cc.Node.EventType.TOUCH_START,
                function() {
                    n.
                default.getInstance().emit("onStateControl", {
                        nstate: "right",
                        isDown: 1
                    }),
                    this.rightMoveNode.setScale(cc.v2( - 1.1, 1.1))
                },
                this),
                this.rightMoveNode.on(cc.Node.EventType.TOUCH_END,
                function() {
                    n.
                default.getInstance().emit("onStateControl", {
                        nstate: "right",
                        isDown: 0
                    }),
                    this.rightMoveNode.setScale(cc.v2( - 1, 1))
                },
                this),
                this.rightMoveNode.on(cc.Node.EventType.TOUCH_CANCEL,
                function() {
                    this.rightMoveNode.setScale(cc.v2( - 1, 1)),
                    n.
                default.getInstance().emit("onStateControl", {
                        nstate: "right",
                        isDown: 0
                    })
                },
                this)
            },
            e.prototype.setBossAppearUI = function(t) {
                this.bossAppearHideUIList.forEach(function(e) {
                    e.active = !t
                })
            },
            e.prototype.doDodgeBtn = function() {
                var t = this;
                if (!this._dodgeTween) {
                    r.
                default.getInstance().playButton(),
                    this._dodgeTween = !0;
                    var e = this.dodgeNode.getComponentInChildren(cc.ProgressBar);
                    e.progress = 1,
                    n.
                default.getInstance().emit("onStateControl", {
                        nstate: "Dodge"
                    });
                    var o = s.
                default.getInstance().getFullProperty(),
                    i = 3;
                    o.hasOwnProperty(c.EquipPropertyEnum.cooldown) && (i *= 1 - o[c.EquipPropertyEnum.cooldown] / 100),
                    cc.tween(e).to(i, {
                        progress: 0
                    }).call(function() {
                        t._dodgeTween = !1
                    }).start()
                }
            },
            e.prototype.doSlowBtn = function() {
                var t = this;
                if (!this._slowTween) {
                    this._slowTween = !0;
                    var e = this.slowNode.getComponentInChildren(cc.ProgressBar);
                    e.progress = 1,
                    n.
                default.getInstance().emit("onStateControl", {
                        nstate: "Slow"
                    });
                    var o = s.
                default.getInstance().getFullProperty(),
                    i = 10;
                    o.hasOwnProperty(c.EquipPropertyEnum.cooldown) && (i *= 1 - o[c.EquipPropertyEnum.cooldown] / 100),
                    cc.tween(e).to(i, {
                        progress: 0
                    }).call(function() {
                        t._slowTween = !1
                    }).start()
                }
            },
            e.prototype.doPauseBtn = function() {
                r.
            default.getInstance().playButton(),
                n.
            default.getInstance().emit("myGameControl", {
                    name: "gamePlayState",
                    state: !0
                });
                var t = cc.instantiate(this.pausePrefab);
                this.node.addChild(t)
            },
            e.prototype.showResultUI = function(t) {
                cc.audioEngine.stopAllEffects();
                var e = cc.instantiate(this.resultPrefab);
                e.getComponent("ResultNode").setState(t),
                this.node.addChild(e)
            },
            e.prototype.showReviveUI = function() {
                cc.audioEngine.stopAllEffects(),
                this._reviveCount++;
                var t = cc.instantiate(this.revivePrefab);
                t.getComponent("ReviveNode").setReviveCount(this._reviveCount),
                this.node.addChild(t)
            },
            e.prototype.showLotteryUI = function(t, e, o) {
                if (i.
            default.getInstance().getTutorialData(0, l.TutorialEnum.step_to_war1)) o && (e ? o.call(e) : o());
                else {
                    if (cc.adCtl.testChannel(5)) return void(o && (e ? o.call(e) : o()));
                    if (3 == t && 100 * Math.random() > 30) return void(o && (e ? o.call(e) : o()));
                    var n = cc.instantiate(this.lotteryPrefab);
                    n.getComponent("LotteryNode").setKind(t),
                    n.getComponent("LotteryNode").setCallBack(e, o),
                    this.node.addChild(n)
                }
            },
            e.prototype.setWave = function(t) {
                var e = this;
                this.waveTipsNode.active = !0,
                this.waveTipsNode.getComponentInChildren(cc.Label).string = "\u7b2c" + t + "\u6ce2",
                this.waveTipsNode.y = 0,
                this.waveTipsNode.opacity = 255,
                cc.tween(this.waveTipsNode).to(1, {
                    y: 80,
                    opacity: 0
                }).call(function() {
                    e.waveTipsNode.active = !1
                }).start()
            },
            __decorate([h(cc.Node)], e.prototype, "leftMoveNode", void 0),
            __decorate([h(cc.Node)], e.prototype, "rightMoveNode", void 0),
            __decorate([h(cc.Node)], e.prototype, "rootMoveNode", void 0),
            __decorate([h(cc.Node)], e.prototype, "dodgeNode", void 0),
            __decorate([h(cc.Node)], e.prototype, "slowNode", void 0),
            __decorate([h(cc.Node)], e.prototype, "pauseNode", void 0),
            __decorate([h(cc.Node)], e.prototype, "waveTipsNode", void 0),
            __decorate([h(a.
        default)], e.prototype, "myCustomsIcon", void 0),
            __decorate([h(cc.Prefab)], e.prototype, "pausePrefab", void 0),
            __decorate([h(cc.Prefab)], e.prototype, "resultPrefab", void 0),
            __decorate([h(cc.Prefab)], e.prototype, "revivePrefab", void 0),
            __decorate([h(cc.Prefab)], e.prototype, "lotteryPrefab", void 0),
            __decorate([h([cc.Node])], e.prototype, "bossAppearHideUIList", void 0),
            __decorate([u], e)
        } (cc.Component);
        o.
    default = p,
        cc._RF.pop()
    },
    {
        "../data/weaponConfig": "weaponConfig",
        "../utils/AudioMgr": "AudioMgr",
        "../utils/Emitter": "Emitter",
        "../utils/GameManager": "GameManager",
        "../utils/myConfigManager": "myConfigManager",
        "../view/TutorialEnum": "TutorialEnum",
        "../view/gameui/customsIcon": "customsIcon"
    }],
    UISingleEffect: [function(t, e, o) {
        "use strict";
        cc._RF.push(e, "aaadfN1B+BODoiEG0kGRGny", "UISingleEffect"),
        Object.defineProperty(o, "__esModule", {
            value: !0
        });
        var n, i = cc._decorator,
        a = i.ccclass,
        r = i.property; (function(t) {
            t[t.angle = 0] = "angle",
            t[t.fadeIn = 1] = "fadeIn",
            t[t.shipAct = 2] = "shipAct",
            t[t.jump = 3] = "jump",
            t[t.angleTo = 4] = "angleTo",
            t[t.blink = 5] = "blink",
            t[t.moveTo = 6] = "moveTo"
        })(n || (n = {}));
        var s = function(t) {
            function e() {
                var e = null !== t && t.apply(this, arguments) || this;
                return e.rootNode = null,
                e.curMode = n.angle,
                e.actTime = 1,
                e.fromAngle = 0,
                e.toAngle = 360,
                e.blinkCount = 1,
                e.delayTime = 1,
                e.moveList = [],
                e
            }
            return __extends(e, t),
            e.prototype.start = function() {
                var t = this.rootNode || this.node;
                switch (this.curMode) {
                case n.angle:
                    this.doAngle(t);
                    break;
                case n.fadeIn:
                    this.doScale(t);
                    break;
                case n.shipAct:
                    this.doShipAct(t);
                    break;
                case n.angleTo:
                    this.doAngleTo(t);
                    break;
                case n.blink:
                    this.doBlink(t)
                }
            },
            e.prototype.doAngle = function(t) {
                cc.tween(t).repeatForever(cc.rotateBy(this.actTime, this.toAngle)).start()
            },
            e.prototype.doScale = function(t) {
                cc.tween(t).repeatForever(cc.sequence(cc.fadeIn(.5 * this.actTime), cc.fadeOut(.5 * this.actTime))).start()
            },
            e.prototype.doShipAct = function(t) {
                cc.tween(t).repeatForever(cc.sequence(cc.spawn(cc.moveBy(this.actTime, cc.v2(0, -5)), cc.rotateTo(this.actTime, -2)), cc.spawn(cc.moveBy(this.actTime, cc.v2(0, 5)), cc.rotateTo(this.actTime, 2)))).start()
            },
            e.prototype.doAngleTo = function(t) {
                cc.tween(t).repeatForever(cc.sequence(cc.rotateTo(this.actTime, this.fromAngle), cc.rotateTo(this.actTime, this.toAngle))).start()
            },
            e.prototype.doBlink = function(t) {
                cc.tween(t).repeatForever(cc.sequence(cc.fadeIn(.1), cc.blink(this.actTime, this.blinkCount), cc.fadeOut(1), cc.delayTime(this.delayTime))).start()
            },
            e.prototype.doMoveTo = function() {},
            __decorate([r(cc.Node)], e.prototype, "rootNode", void 0),
            __decorate([r({
                type: cc.Enum(n)
            })], e.prototype, "curMode", void 0),
            __decorate([r], e.prototype, "actTime", void 0),
            __decorate([r({
                visible: function() {
                    return this.curMode == n.angleTo
                }
            })], e.prototype, "fromAngle", void 0),
            __decorate([r({
                visible: function() {
                    return this.curMode == n.angle || this.curMode == n.angleTo
                }
            })], e.prototype, "toAngle", void 0),
            __decorate([r({
                visible: function() {
                    return this.curMode == n.blink
                }
            })], e.prototype, "blinkCount", void 0),
            __decorate([r({
                visible: function() {
                    return this.curMode == n.blink
                }
            })], e.prototype, "delayTime", void 0),
            __decorate([r({
                visible: function() {
                    return this.curMode == n.moveTo
                },
                type: [cc.Vec2]
            })], e.prototype, "moveList", void 0),
            __decorate([a], e)
        } (cc.Component);
        o.
    default = s,
        cc._RF.pop()
    },
    {}],
    VivoAdManager: [function(t, e) {
        "use strict";
        cc._RF.push(e, "68344p9OetF1JJZqF3d0sTX", "VivoAdManager");
        var o = t("BaseManager");
        cc.Class({
            extends: o,
            ctor: function() {
                this._rewardedVideoAd = null,
                this._bannerAd = null,
                this._interstitialAd = null,
                this._nativeAd = null,
                this._nativeData = null,
                this.lastInstTime = 0,
                this.lastNativeTime = 0,
                this.videoCall = null,
                this.appId_adUnitId = "",
                this.inst_adUnitId = "",
                this.video_adUnitId = "",
                this.banner_adUnitId = "",
                this.native_adUnitId = ""
            },
            initSDK: function() {
                this.myAdChannel = "vivo";
                var t = cc.adCtl.getAdInfo("vivo");
                t && (this.appId_adUnitId = t.appId, this.inst_adUnitId = t.inst, this.video_adUnitId = t.video, this.banner_adUnitId = t.banner, this.native_adUnitId = t.native, this.firstShow = !0, this.videoDelay = 0, "" != this.appId_adUnitId && this.initVivoAd())
            },
            showVideo: function(t) {
                var e = this;
                this.videoCall = t;
                var o = Math.floor((new Date).getTime() / 1e3);
                return o - this.videoDelay < 60 ? (this.showToast("\u6ca1\u6709\u89c6\u9891\u5e7f\u544a"), void(this.videoCall && this.videoCall(0))) : (this.videoDelay = o, cc.sys.platform != cc.sys.DESKTOP_BROWSER ? null == this._rewardedVideoAd ? (this.showToast("\u6ca1\u6709\u89c6\u9891\u5e7f\u544a"), void(this.videoCall && this.videoCall(0))) : void this._rewardedVideoAd.load().
                catch(function(t) {
                    e.videoCall && e.videoCall(0),
                    e.showToast("\u6ca1\u6709\u89c6\u9891\u5e7f\u544a"),
                    console.log("\u6fc0\u52b1\u89c6\u9891\u5e7f\u544a\u52a0\u8f7d\u5931\u8d25", JSON.stringify(t))
                }) : void(this.videoCall && this.videoCall(0)))
            },
            showInst: function() {
                if ("" != this.inst_adUnitId) {
                    var t = qg.createInterstitialAd({
                        posId: this.inst_adUnitId
                    }).show();
                    t && t.then(function() {
                        console.log("\u63d2\u5c4f\u5e7f\u544a\u5c55\u793a\u6210\u529f")
                    }).
                    catch(function(t) {
                        switch (t.code) {
                        case 30003:
                            console.log("\u65b0\u7528\u62371\u5929\u5185\u4e0d\u80fd\u66dd\u5149Banner\uff0c\u8bf7\u5c06\u624b\u673a\u65f6\u95f4\u8c03\u6574\u4e3a1\u5929\u540e\uff0c\u9000\u51fa\u6e38\u620f\u91cd\u65b0\u8fdb\u5165");
                            break;
                        case 30009:
                            console.log("10\u79d2\u5185\u8c03\u7528\u5e7f\u544a\u6b21\u6570\u8d85\u8fc71\u6b21\uff0c10\u79d2\u540e\u518d\u8c03\u7528");
                            break;
                        case 30002:
                            console.log("load\u5e7f\u544a\u5931\u8d25\uff0c\u91cd\u65b0\u52a0\u8f7d\u5e7f\u544a");
                            break;
                        default:
                            console.log("\u63d2\u5c4f\u5e7f\u544a\u5c55\u793a\u5931\u8d25"),
                            console.log(JSON.stringify(t))
                        }
                    })
                }
            },
            showBanner: function() {
                var t = this;
                "" != t.banner_adUnitId && window.qg && (null != this._bannerAd && (this._bannerAd.destroy(), this._bannerAd = null), this._bannerAd = qg.createBannerAd({
                    posId: t.banner_adUnitId,
                    style: {}
                }), this._bannerAd.onError(function(t) {
                    console.log("bannerAd", t)
                }), this._bannerAd.onLoad(function() {
                    t._bannerAd.show()
                }))
            },
            hideBanner: function() {
                null != this._bannerAd && (this._bannerAd.destroy(), this._bannerAd = null)
            },
            showNative: function() {
                this.loadNativeAd(!0)
            },
            getNativeAdData: function() {
                return null != this._nativeData && this._nativeData.length > 0 ? this._nativeData[0] : null == this._nativeAd ? null: (this._nativeAd.load(), null)
            },
            nativeAdEvent: function(t, e) {
                1 == t ? this.showNativeAd(e) : this.clickNativeAd(e)
            },
            doShock: function(t) {
                window.qg && (1 == t ? qg.vibrateShort() : qg.vibrateLong())
            },
            initVivoAd: function() {
                var t = this,
                e = this;
                window.qg && qg.getSystemInfoSync().platformVersionCode >= 1031 && ("" != e.video_adUnitId && qg.getSystemInfoSync().platformVersionCode >= 1041 && (this._rewardedVideoAd = qg.createRewardedVideoAd({
                    posId: e.video_adUnitId
                }), this._rewardedVideoAd.onLoad(function() {
                    e.firstShow || e._rewardedVideoAd.show().then(function() {
                        cc.AudioMgr.CtlAndioForAd(!1),
                        console.log("\u6fc0\u52b1\u89c6\u9891\u5e7f\u544a\u663e\u793a\u6210\u529f")
                    }).
                    catch(function(t) {
                        console.log("\u6fc0\u52b1\u89c6\u9891\u5e7f\u544a\u663e\u793a\u5931\u8d25", JSON.stringify(t))
                    }),
                    e.firstShow = !1,
                    console.log("\u6fc0\u52b1\u89c6\u9891\u5df2\u52a0\u8f7d")
                }), this._rewardedVideoAd.onError(function(o) {
                    console.log("\u6fc0\u52b1\u89c6\u9891\u5f02\u5e38", JSON.stringify(o)),
                    t.showToast("\u6ca1\u6709\u89c6\u9891\u5e7f\u544a"),
                    e.videoCall(0)
                }), this._rewardedVideoAd.onClose(function(t) {
                    t && t.isEnded ? (e.videoCall(1), console.log("\u6b63\u5e38\u64ad\u653e\u7ed3\u675f\uff0c\u53ef\u4ee5\u4e0b\u53d1\u6e38\u620f\u5956\u52b1")) : (e.videoCall(0), console.log("\u64ad\u653e\u4e2d\u9014\u9000\u51fa\uff0c\u4e0d\u4e0b\u53d1\u6e38\u620f\u5956\u52b1")),
                    cc.AudioMgr.CtlAndioForAd(!0)
                })), this.loadNativeAd(!1))
            },
            loadNativeAd: function(t) {
                var e = Math.floor((new Date).getTime() / 1e3);
                if (! (e < this.lastNativeTime) && (this.lastNativeTime = e + 10, window.qg)) {
                    var o = this;
                    if (qg.createNativeAd && "" != o.native_adUnitId) {
                        this._nativeAd && this._nativeAd.offLoad(),
                        this._nativeAd = qg.createNativeAd({
                            posId: o.native_adUnitId
                        }),
                        this._nativeAd.onLoad(function(e) {
                            console.log("\u539f\u751f\u5e7f\u544a\u52a0\u8f7d\u5b8c\u6210", JSON.stringify(e)),
                            e && e.adList && (o._nativeData = [], o._nativeData.push(e.adList.pop()), t && o.doShowNativeAd())
                        });
                        var n = this._nativeAd.load();
                        n && n.then(function() {
                            console.log("\u539f\u751f\u5e7f\u544a\u52a0\u8f7d\u5b8c\u6210", JSON.stringify(res))
                        }).
                        catch(function(t) {
                            console.log("\u52a0\u8f7d\u5931\u8d25", JSON.stringify(t))
                        })
                    }
                }
            },
            doShowNativeAd: function() {
                if (null != this._nativeAd && null != this._nativeData && this._nativeData.length > 0) {
                    var t = this._nativeData[0],
                    e = t.adId;
                    this.showNativeAd(e),
                    this.showNativeNode(t)
                }
            },
            showNativeAd: function(t) {
                null != this._nativeAd && this._nativeAd.reportAdShow({
                    adId: t + ""
                })
            },
            clickNativeAd: function(t) {
                null != this._nativeAd && (this._nativeData.shift(), console.log("_nativeAd clickNativeAd"), this._nativeAd.reportAdClick({
                    adId: t + ""
                }), this._nativeData.length <= 0 && this._nativeAd.load())
            },
            showNativeNode: function(t) {
                console.log("showNativeNode"),
                cc.director.getScene().getChildByName("sl_NativeAdNode") || cc.loader.loadRes("nativenode/sl_NativeAdNode",
                function(e, o) {
                    var n = cc.instantiate(o);
                    n.getComponent("NativeAdMgr").setCallfun(function() {}),
                    n.getComponent("NativeAdMgr").showWithData(t),
                    cc.director.getScene().addChild(n)
                })
            },
            showToast: function(t) {
                cc.sys.platform == cc.sys.VIVO_GAME && qg.showToast({
                    message: t
                })
            },
            saveDesktopIcon: function(t) {
                this._saveIconCall = t;
                var e = this;
                qg.hasShortcutInstalled({
                    success: function(t) {
                        0 == t ? qg.installShortcut({
                            success: function() {
                                e._saveIconCall && e._saveIconCall()
                            },
                            fail: function() {},
                            complete: function() {}
                        }) : e._saveIconCall && e._saveIconCall()
                    },
                    fail: function() {},
                    complete: function() {}
                })
            },
            getIsHaveDesktopIcon: function() {
                return ! 0
            }
        }),
        cc._RF.pop()
    },
    {
        BaseManager: "BaseManager"
    }],
    WXAdManager: [function(t, e) {
        "use strict";
        cc._RF.push(e, "61347/9XdFHZpx+N5v+aVid", "WXAdManager");
        var o = t("BaseManager");
        cc.Class({
            extends: o,
            ctor: function() {
                this.bannerAdCtrl = null,
                this.videoAdCtrl = null,
                this.instAdCtrl = null,
                this.videoAdCall = null,
                this.videoPath = "",
                this.recorderManager = null,
                this._stopCallBack = !1,
                this._shareCallBack = null,
                this._recordTime = 0,
                this.appId_adUnitId = "",
                this.video_adUnitId = "",
                this.inst_adUnitId = "",
                this.banner_adUnitId = ""
            },
            initSDK: function() {
                this.myAdChannel = "none";
                var t = cc.adCtl.getAdInfo("wx");
                t && (this.myAdChannel = "wx", this.appId_adUnitId = t.appId, this.inst_adUnitId = t.inst, this.video_adUnitId = t.video, this.banner_adUnitId = t.banner, this.initMyVideoAds())
            },
            showToast: function(t) {
                cc.log(t),
                window.wx && wx.showToast({
                    title: t,
                    icon: "none",
                    duration: 2e3
                })
            },
            showInst: function() {
                null != this.instAdCtrl && this.instAdCtrl.show().
                catch(function(t) {
                    console.error(t)
                })
            },
            initMyVideoAds: function() {
                if ("wx" == this.myAdChannel) {
                    var t = this;
                    wx.createRewardedVideoAd && (this.videoAdCtrl = wx.createRewardedVideoAd({
                        adUnitId: this.video_adUnitId
                    }), this.videoAdCtrl.onError(function(t) {
                        console.log("\u5e7f\u544a\u52a0\u8f7d\u51fa\u9519 " + t.errMsg)
                    }), this.videoAdCtrl.onLoad(function() {
                        console.log("\u52a0\u8f7d\u4e8b\u4ef6\u56de\u8c03")
                    }), this.videoAdCtrl.onClose(function(e) {
                        console.log("\u662f\u5426\u89c2\u770b\u5b8c\u6574\u4e86 " + e.isEnded),
                        e.isEnded ? t.videoAdCall.call(0) : cc.vv.TTAD.showToast("\u672a\u64ad\u653e\u5b8c\u6210,\u4e0d\u80fd\u83b7\u5f97\u5956\u52b1")
                    })),
                    wx.createInterstitialAd && (this.instAdCtrl = wx.createInterstitialAd({
                        adUnitId: this.inst_adUnitId
                    }))
                }
            },
            showVideo: function(t) {
                var e = this;
                if (console.log("ShowVideoAds \u4e8b\u4ef6\u56de\u8c03"), this.videoAdCall = t, "wx" == this.myAdChannel) {
                    if (null == this.videoAdCtrl) return void this.videoAdCall.call(0);
                    this.videoAdCtrl.load().then(function() {
                        return e.videoAdCtrl.show()
                    }).
                    catch(function(t) {
                        return console.log(t.errMsg)
                    })
                } else console.log("mycb\u4e8b\u4ef6\u56de\u8c03"),
                this.showToast("\u6682\u65e0\u5e7f\u544a"),
                this.videoAdCall.call(0)
            },
            hideBanner: function() {
                "wx" == this.myAdChannel && null != this.bannerAdCtrl && (this.bannerAdCtrl.destroy(), this.bannerAdCtrl = null)
            },
            showBanner: function() {
                var t = this;
                if (this.resizeTime = 0, this.allScreen = !1, "wx" == this.myAdChannel) {
                    var e = 300;
                    null != this.bannerAdCtrl && this.bannerAdCtrl.destroy();
                    var o = {};
                    if (o.W = wx.getSystemInfoSync().windowWidth, o.H = wx.getSystemInfoSync().windowHeight, !wx.createBannerAd) return;
                    this.bannerAdCtrl = wx.createBannerAd({
                        adUnitId: this.banner_adUnitId,
                        adIntervals: 30,
                        style: {
                            left: 0,
                            top: o.H - e / 16 * 9,
                            width: e
                        }
                    }),
                    this.bannerAdCtrl.style.left = (o.W - e) / 2,
                    this.bannerAdCtrl.onResize(function(n) {
                        e != n.width && (e = n.width, t.bannerAdCtrl.style.top = o.H - n.width / 16 * 9, t.bannerAdCtrl.style.left = (o.W - n.width) / 2)
                    }),
                    this.bannerAdCtrl.onLoad(function() {
                        console.log(" banner \u52a0\u8f7d\u5b8c\u6210"),
                        t.bannerAdCtrl.show().then(function() {
                            console.log("\u5e7f\u544a\u663e\u793a\u6210\u529f")
                        }).
                        catch(function(t) {
                            console.log("\u5e7f\u544a\u7ec4\u4ef6\u51fa\u73b0\u95ee\u9898", t)
                        })
                    }),
                    this.bannerAdCtrl.onError(function(t) {
                        console.log(t)
                    }),
                    console.log("\u51c6\u5907\u663e\u793abanner\u5e7f\u544a")
                }
            },
            shareGame: function() {
                "wx" == this.myAdChannel && wx.shareAppMessage({
                    title: "",
                    desc: "",
                    imageUrl: "",
                    query: "",
                    success: function() {
                        console.log("\u5206\u4eab\u89c6\u9891\u6210\u529f")
                    },
                    fail: function(t) {
                        console.log("\u5206\u4eab\u89c6\u9891\u5931\u8d25" + JSON.stringify(t))
                    }
                })
            }
        }),
        cc._RF.pop()
    },
    {
        BaseManager: "BaseManager"
    }],
    WarehouseNode: [function(t, e, o) {
        "use strict";
        cc._RF.push(e, "fd0faEDnjVJ27lsSMRwSitu", "WarehouseNode"),
        Object.defineProperty(o, "__esModule", {
            value: !0
        });
        var n, i = t("../../utils/AudioMgr"),
        a = t("../../utils/GameManager"),
        r = t("../../data/weaponConfig"),
        s = t("../../utils/Emitter"),
        c = t("../../control/ResManager"),
        l = t("../../utils/myConfigManager"),
        d = t("../../data/shopConfig"),
        u = cc._decorator,
        h = u.ccclass,
        p = u.property; (function(t) {
            t[t.rune = 0] = "rune",
            t[t.weapon = 1] = "weapon"
        })(n || (n = {}));
        var f = function(t) {
            function e() {
                var e = null !== t && t.apply(this, arguments) || this;
                return e.gridLabel = null,
                e.btnRoot = null,
                e.itemContentRoot = null,
                e.layerList = [],
                e.RuneTips = null,
                e.EquipUnTips = null,
                e.RuneUnTips = null,
                e.selectFrame = null,
                e.curKind = n.rune,
                e._tempItem = null,
                e._curList = [],
                e._selectitem = [],
                e._selectNodeList = [],
                e._isComposeState = !1,
                e._selectIndex = 0,
                e._equipSortKind = 0,
                e
            }
            return __extends(e, t),
            e.prototype.onLoad = function() {
                this._tempItem = this.itemContentRoot.children[0],
                this._tempItem.parent = null
            },
            e.prototype.onEnable = function() {
                s.
            default.getInstance().on("selectItemState", this.setSelectItemState, this)
            },
            e.prototype.onDisable = function() {
                s.
            default.getInstance().off("selectItemState", this),
                this._selectitem = [],
                this.curKind == n.weapon && a.
            default.getInstance().setData("selfEquipList", this._curList)
            },
            e.prototype.onDestroy = function() {
                this._tempItem.destroy()
            },
            e.prototype.setShow = function(t) {
                this.curKind = t,
                this.initView()
            },
            e.prototype.initView = function() {
                this._isComposeState = !1,
                this.curKind == n.weapon ? (this.initShowBtn([1, 1, 0]), this.initWeapon()) : this.curKind == n.rune && (this.initShowBtn([1, 1, 1]), this.initRune())
            },
            e.prototype.initRune = function() {
                this._selectitem = [],
                this.RuneUnTips.active = !0,
                this.EquipUnTips.active = !1,
                this._curList = a.
            default.getInstance().getData("selfRuneList"),
                this.showLayer(0),
                this.refreshAll()
            },
            e.prototype.initWeapon = function() {
                this._selectitem = [],
                this.RuneTips.active = !1,
                this.RuneUnTips.active = !1,
                this.EquipUnTips.active = !0,
                this._curList = a.
            default.getInstance().getData("selfEquipList"),
                this.showLayer(1),
                this.refreshAll()
            },
            e.prototype.initShowBtn = function(t) {
                for (var e = this.btnRoot.children,
                o = 0; o < e.length; o++) e[o].active = 1 == t[o]
            },
            e.prototype.refreshItem = function() {
                for (var t = 0; t < this._curList.length; t++) {
                    var e = this._curList[t],
                    o = null,
                    i = -1,
                    a = -1,
                    s = 1,
                    c = !1;
                    this.curKind == n.weapon ? (o = l.
                default.getInstance().getNameByAwardKind(e.kind) + e.index, i = e.quality, a = e.suit, s = e.lv, c = !!e.tips) : this.curKind == n.rune && (o = r.RuneInfoConfig[e.kind].name + "_" + e.lv, i = Math.floor((e.lv - 1) / 3), s = e.lv, c = !!e.tips, i > 5 && (i = 5));
                    var d = {
                        index: t,
                        name: o,
                        qua: i,
                        suit: a,
                        curlv: s,
                        tips: c
                    };
                    this.setShowIcon(d)
                }
                var u = this.itemContentRoot.children;
                if (u.length > this._curList.length) for (t = this._curList.length; t < u.length; t++)(e = u[t]) && (e.active = !1)
            },
            e.prototype.refreshGridNum = function() {
                var t = a.
            default.getInstance().getData("selfPackCap")[this.curKind];
                this.gridLabel.string = this._curList.length + "/" + t,
                this.gridLabel.node.color = this._curList.length >= t ? cc.Color.RED: cc.Color.WHITE
            },
            e.prototype.setShowIcon = function(t) {
                var e = this.itemContentRoot.getChildByName("item" + t.index);
                e || ((e = cc.instantiate(this._tempItem)).name = "item" + t.index, this.itemContentRoot.addChild(e)),
                e.active || (e.active = !0),
                e.getComponent(cc.Sprite).spriteFrame = c.
            default._instance.DropAward.getSpriteFrame("quality_" + (t.qua + 1));
                var o = e.getChildByName("icon");
                this.curKind == n.weapon ? e.getComponentInChildren(cc.Label).string = t.curlv + "/20": this.curKind == n.rune && (e.getComponentInChildren(cc.Label).string = "lv." + t.curlv),
                e.getChildByName("tips").active = t.tips;
                var i = e.getChildByName("suitIcon");
                i.active = t.suit > 0,
                t.suit > 0 && (i.getComponent(cc.Sprite).spriteFrame = c.
            default._instance.DropAward.getSpriteFrame("suit" + t.suit));
                var a = c.
            default._instance.DropAward.getSpriteFrame(t.name),
                r = 45 / a.getRect().width;
                if (o.getComponent(cc.Sprite).spriteFrame = a, o.scale = r, !e.getComponent(cc.Button)) {
                    var s = new cc.Component.EventHandler;
                    s.target = this.node,
                    s.component = "WarehouseNode",
                    s.handler = "selectItemBtn",
                    s.customEventData = t.index + "",
                    e.addComponent(cc.Button).clickEvents.push(s)
                }
            },
            e.prototype.showLayer = function(t) {
                for (var e = 0; e < this.layerList.length; e++) {
                    var o = this.layerList[e];
                    o && (o.active = e == t)
                }
            },
            e.prototype.buyGridBtn = function() {
                var t = this;
                i.
            default.getInstance().playButton(),
                a.
            default.getInstance().getData("selfPackCap")[this.curKind] >= l.
            default.getInstance()._maxPackCap ? a.
            default.getInstance().showToast("\u5df2\u8fbe\u5230\u6700\u5927"):
                a.
            default.getInstance().getMyPrefab("viewPrefabs/addGridNode").then(function(e) {
                    var o = cc.instantiate(e);
                    o.getComponent("addGridNode").setKind(t.curKind, t, t.refreshGridNum),
                    cc.find("Canvas").addChild(o)
                })
            },
            e.prototype.sortBtn = function() {
                i.
            default.getInstance().playButton(),
                this._selectitem.length > 0 ? a.
            default.getInstance().showToast("\u5f53\u524d\u6709\u9009\u62e9\u72b6\u6001,\u4e0d\u80fd\u6574\u7406"):
                (this.curKind == n.weapon ? (0 == this._equipSortKind ? a.
            default.getInstance().sortMyObjlist(this._curList, "kind") : 1 == this._equipSortKind ? a.
            default.getInstance().sortMyObjlist(this._curList, "lv") : 2 == this._equipSortKind && a.
            default.getInstance().sortMyObjlist(this._curList, "quality"), this._equipSortKind++, this._equipSortKind = this._equipSortKind % 3, a.
            default.getInstance().setData("selfEquipList", this._curList)) : this.curKind == n.rune && (a.
            default.getInstance().sortMyObjlist(this._curList, "lv"), a.
            default.getInstance().setData("selfRuneList", this._curList)), this.refreshItem())
            },
            e.prototype.composeBtn = function() {
                i.
            default.getInstance().playButton(),
                this._isComposeState = !0,
                this.initShowBtn([0, 0, 0]),
                this._selectitem = [],
                this.showSelectFrame(),
                this.showLayer(2)
            },
            e.prototype.selectItemBtn = function(t, e) {
                var o = this;
                if (i.
            default.getInstance().playButton(), this.curKind == n.rune) {
                    if (this.showRuneTips(e, t.target), this._isComposeState) {
                        var r = this._selectitem.findIndex(function(t) {
                            return t.index == e
                        });
                        if (this._selectitem.length > 0 && -1 != r) this._selectitem.splice(r, 1);
                        else {
                            var c = this._curList[e];
                            if (0 == this._selectitem.length) {
                                if (18 == c.lv) return void a.
                            default.getInstance().showToast("\u6700\u9ad8\u7b49\u7ea7\u4e86");
                                this._selectitem.push({
                                    node:
                                    t.target,
                                    index: e
                                })
                            } else {
                                if (3 == this._selectitem.length) return void a.
                            default.getInstance().showToast("\u8d85\u8fc73\u4e2a\u4e86");
                                if ((d = this._curList[this._selectitem[this._selectitem.length - 1].index]).kind != c.kind || d.lv != c.lv) return void a.
                            default.getInstance().showToast("\u7c7b\u578b\u6216\u7b49\u7ea7\u4e0d\u540c");
                                this._selectitem.push({
                                    node:
                                    t.target,
                                    index: e
                                })
                            }
                        }
                        var l = [];
                        this._selectitem.forEach(function(t) {
                            var e = JSON.parse(JSON.stringify(o._curList[t.index]));
                            e.mySelectIndex = t.index,
                            l.push(e)
                        }),
                        s.
                    default.getInstance().emit("compoundState", {
                            name: "rune",
                            data: l
                        })
                    } else this._selectitem.length > 0 && this._selectitem[0].index == e ? (this._selectitem = [], s.
                default.getInstance().emit("RuneState", {
                        name: "cancel"
                    })) : (this._selectitem = [], this._selectitem.push({
                        node: t.target,
                        index: e
                    }), s.
                default.getInstance().emit("RuneState", {
                        name: "record",
                        data: this._curList[e]
                    }));
                    this.showSelectFrame()
                } else if (this.curKind == n.weapon) if (this._isComposeState) {
                    if (r = this._selectitem.findIndex(function(t) {
                        return t.index == e
                    }), this._selectitem.length > 0 && -1 != r) this._selectitem.splice(r, 1);
                    else if (c = this._curList[e], 0 == this._selectitem.length) this._selectitem.push({
                        node: t.target,
                        index: e
                    });
                    else {
                        if (3 == this._selectitem.length) return void a.
                    default.getInstance().showToast("\u8d85\u8fc73\u4e2a\u4e86");
                        var d;
                        if ((d = this._curList[this._selectitem[this._selectitem.length - 1].index]).quality != c.quality) return void a.
                    default.getInstance().showToast("\u54c1\u8d28\u4e0d\u540c");
                        this._selectitem.push({
                            node:
                            t.target,
                            index: e
                        })
                    }
                    var u = [];
                    this._selectitem.forEach(function(t) {
                        var e = JSON.parse(JSON.stringify(o._curList[t.index]));
                        e.mySelectIndex = t.index,
                        u.push(e)
                    }),
                    s.
                default.getInstance().emit("compoundState", {
                        name: "weapon",
                        data: u
                    }),
                    this.showSelectFrame()
                } else this._selectIndex = parseInt(e),
                this._curList[this._selectIndex].tips = !1,
                t.target.getChildByName("tips").active = !1,
                a.
            default.getInstance().getMyPrefab("viewPrefabs/equipInfoNode").then(function(t) {
                    var e = cc.instantiate(t);
                    e.getComponent("EquipInfoNode").setEquipData(o._curList[o._selectIndex], 0, o.equipResult, o),
                    cc.find("Canvas").addChild(e)
                })
            },
            e.prototype.setSelectItemState = function(t) {
                var e = this;
                if ("cancel" == t.name) this._selectitem = [],
                this.showSelectFrame();
                else if ("rune_equip" == t.name) {
                    for (var o = 0; o < this._selectitem.length; o++) {
                        var i = this._selectitem[o];
                        this._curList.splice(i.index, 1)
                    }
                    a.
                default.getInstance().setData("selfRuneList", this._curList),
                    this._selectitem = [],
                    this.refreshAll()
                } else if ("rune_cancel" == t.name) {
                    this._curList.push(t.data),
                    a.
                default.getInstance().setData("selfRuneList", this._curList);
                    var s = r.RuneInfoConfig[t.data.kind].name + "_" + t.data.lv,
                    c = Math.floor((t.data.lv - 1) / 3);
                    c > 5 && (c = 5);
                    var d = {
                        index: this._curList.length - 1,
                        name: s,
                        qua: c,
                        suit: -1,
                        curlv: t.data.lv,
                        tips: !1
                    };
                    this.setShowIcon(d)
                } else if ("start_compose" == t.name) {
                    if (3 == this._selectitem.length) if (this.curKind == n.rune) {
                        var u = this._selectitem[0].index,
                        h = JSON.parse(JSON.stringify(this._curList[u])),
                        p = [];
                        for (o = 0; o < this._selectitem.length; o++) i = this._selectitem[o],
                        p.push(parseInt(i.index));
                        p.sort(function(t, e) {
                            return e - t
                        }),
                        p.forEach(function(t) {
                            e._curList.splice(t, 1)
                        }),
                        h.lv += 1,
                        h.lv > 18 && (h.lv = 18),
                        this._curList.push(h),
                        a.
                    default.getInstance().setData("selfRuneList", this._curList),
                        this._selectitem = [],
                        this.refreshAll()
                    } else if (this.curKind == n.weapon) {
                        for (p = [], o = 0; o < this._selectitem.length; o++) i = this._selectitem[o],
                        p.push(parseInt(i.index));
                        p.sort(function(t, e) {
                            return e - t
                        }),
                        p.forEach(function(t) {
                            e._curList.splice(t, 1)
                        }),
                        this._curList.push(t.data),
                        a.
                    default.getInstance().setData("selfEquipList", this._curList),
                        this._selectitem = []
                    }
                } else if ("compose_back" == t.name) this._selectitem = [],
                this.showSelectFrame(),
                this.initView();
                else if ("compose_cancelSingle" == t.name) {
                    var f = this._selectitem.findIndex(function(e) {
                        return e.index == t.mySelectIndex
                    });
                    this._selectitem.length > 0 && -1 != f && this._selectitem.splice(f, 1),
                    this.showSelectFrame()
                } else if ("weapon_unequip" == t.name) {
                    d = t.data,
                    this._curList.push(d),
                    a.
                default.getInstance().setData("selfEquipList", this._curList),
                    s = l.
                default.getInstance().getNameByAwardKind(d.kind) + d.index;
                    var m = {
                        index: this._curList.length - 1,
                        name: s,
                        qua: d.quality,
                        suit: d.suit,
                        curlv: d.lv,
                        tips: !1
                    };
                    this.setShowIcon(m)
                } else(t.name = "refresh_all") && this.refreshAll()
            },
            e.prototype.showSelectFrame = function() {
                var t = this;
                this._selectNodeList.forEach(function(t) {
                    t.removeFromParent(),
                    t.destroy()
                }),
                this._selectNodeList = [],
                this._selectitem.forEach(function(e) {
                    var o = e.node,
                    n = cc.instantiate(t.selectFrame);
                    n.active = !0,
                    n.setPosition(cc.v2(0, 0)),
                    o.addChild(n),
                    t._selectNodeList.push(n)
                })
            },
            e.prototype.showRuneTips = function(t, e) {
                var o = this;
                this.RuneTips.stopAllActions();
                var n = this._curList[t],
                i = r.RuneInfoConfig[n.kind],
                a = l.
            default.getInstance().getTipsFromPro(i.proKind),
                s = i.
            default + i.add * (n.lv - 1);
                s = parseFloat(s.toFixed(2));
                var c = cc.js.formatStr(a, s),
                d = e.convertToWorldSpaceAR(cc.v2()),
                u = 1;
                d.x > .8 * cc.winSize.width && (u = -1),
                this.RuneTips.scale = 0,
                this.RuneTips.active = !0;
                var h = this.RuneTips.parent.convertToNodeSpaceAR(d);
                h = h.add(cc.v2(20, 20)),
                this.RuneTips.setPosition(h),
                this.RuneTips.children[0].scale = u,
                this.RuneTips.getComponentInChildren(cc.Label).string = c,
                cc.tween(this.RuneTips).to(.1, {
                    scale: 1 * u
                }).delay(2).call(function() {
                    o.RuneTips.active = !1
                }).start()
            },
            e.prototype.nScrollViewcallback = function(t, e) {
                e == cc.ScrollView.EventType.SCROLL_BEGAN && (this.RuneTips.active = !1)
            },
            e.prototype.equipResult = function(t) {
                if ("equip" == t) {
                    for (var e = d.equipSlotList,
                    o = a.
                default.getInstance().getData("selfEquipSelect"), n = 0, i = 0; i < e.length && (e[i] != this._curList[this._selectIndex].kind || (n = i, -1 != o[i])); i++); - 1 != o[n] && this._curList.push(JSON.parse(JSON.stringify(o[n]))),
                    o[n] = JSON.parse(JSON.stringify(this._curList[this._selectIndex])),
                    this._curList.splice(this._selectIndex, 1),
                    a.
                default.getInstance().setData("selfEquipSelect", o),
                    a.
                default.getInstance().setData("selfEquipList", this._curList),
                    this.refreshItem(),
                    s.
                default.getInstance().emit("refresh_equipUI", null)
                } else "remove" == t ? (this._curList.splice(this._selectIndex, 1), a.
            default.getInstance().setData("selfEquipList", this._curList), this.refreshItem()) : "upgrade" == t && (a.
            default.getInstance().setData("selfEquipList", this._curList), this.refreshItem(), s.
            default.getInstance().emit("refresh_equipUI", null));
                this.refreshGridNum()
            },
            e.prototype.refreshAll = function() {
                this.showSelectFrame(),
                this.refreshItem(),
                this.refreshGridNum()
            },
            e.prototype.runeAutoCompBtn = function() {
                if (this.curKind == n.rune) {
                    i.
                default.getInstance().playSFX("getAward"),
                    this._curList.sort(function(t, e) {
                        return t.lv - e.lv
                    });
                    var t = {};
                    for (var e in this._curList.forEach(function(e) {
                        var o = e.kind + ";" + e.lv;
                        t.hasOwnProperty(o) ? t[o].push(e) : t[o] = [e]
                    }), t) if (t.hasOwnProperty(e) && (h = t[e]).length > 0) {
                        var o = JSON.parse(JSON.stringify(h[0]));
                        if (o.lv < 18) {
                            o.lv++;
                            var r = h.length,
                            s = Math.floor(r / 3),
                            c = r % 3;
                            t[e].splice(c, r);
                            for (var l = 0; l < s; l++) {
                                var d = o.kind + ";" + o.lv;
                                t.hasOwnProperty(d) ? t[d].push(o) : t[d] = [o]
                            }
                        }
                    }
                    var u = [];
                    for (var e in t) {
                        var h = t[e];
                        u = u.concat(h)
                    }
                    this._curList = u,
                    a.
                default.getInstance().setData("selfRuneList", this._curList),
                    this.refreshAll()
                }
            },
            __decorate([p(cc.Label)], e.prototype, "gridLabel", void 0),
            __decorate([p(cc.Node)], e.prototype, "btnRoot", void 0),
            __decorate([p(cc.Node)], e.prototype, "itemContentRoot", void 0),
            __decorate([p([cc.Node])], e.prototype, "layerList", void 0),
            __decorate([p(cc.Node)], e.prototype, "RuneTips", void 0),
            __decorate([p(cc.Node)], e.prototype, "EquipUnTips", void 0),
            __decorate([p(cc.Node)], e.prototype, "RuneUnTips", void 0),
            __decorate([p(cc.Node)], e.prototype, "selectFrame", void 0),
            __decorate([p({
                type: cc.Enum(n)
            })], e.prototype, "curKind", void 0),
            __decorate([h], e)
        } (cc.Component);
        o.
    default = f,
        cc._RF.pop()
    },
    {
        "../../control/ResManager": "ResManager",
        "../../data/shopConfig": "shopConfig",
        "../../data/weaponConfig": "weaponConfig",
        "../../utils/AudioMgr": "AudioMgr",
        "../../utils/Emitter": "Emitter",
        "../../utils/GameManager": "GameManager",
        "../../utils/myConfigManager": "myConfigManager"
    }],
    XiaomiAdManager: [function(t, e) {
        "use strict";
        cc._RF.push(e, "f669dOMFVtEvo9P+wTuzZ2u", "XiaomiAdManager");
        var o = t("BaseManager");
        cc.Class({
            extends: o,
            ctor: function() {
                this.videoAdCtrl = null,
                this.videoAdCall = null,
                this.appId_adUnitId = "",
                this.video_adUnitId = "",
                this.inst_adUnitId = ""
            },
            initSDK: function() {
                this.myAdChannel = "xiaomi",
                this.initMyVideoAds()
            },
            showToast: function(t) {
                cc.log(t),
                window.qg && qg.showToast({
                    title: t,
                    icon: "none",
                    duration: 2e3
                })
            },
            initMyVideoAds: function() {
                if (window.qg) {
                    var t = this;
                    this.videoAdCtrl = qg.createRewardedVideoAd({
                        adUnitId: this.video_adUnitId
                    }),
                    this.videoAdCtrl.onError(function(t) {
                        console.log("\u5e7f\u544a\u52a0\u8f7d\u51fa\u9519 " + JSON.stringify(t))
                    }),
                    this.videoAdCtrl.onLoad(function() {
                        console.log("\u52a0\u8f7d\u4e8b\u4ef6\u56de\u8c03")
                    }),
                    this.videoAdCtrl.onClose(function(e) {
                        console.log("\u662f\u5426\u89c2\u770b\u5b8c\u6574\u4e86 " + e.isEnded),
                        e.isEnded ? t.videoAdCall(1) : t.videoAdCall(0)
                    })
                }
            },
            showVideo: function(t) {
                var e = this;
                if (console.log("xiaomi ShowVideoAds \u4e8b\u4ef6\u56de\u8c03"), this.videoAdCall = t, window.qg) {
                    if (null == this.videoAdCtrl) return void this.videoAdCall(1);
                    this.videoAdCtrl.load().then(function() {
                        return e.videoAdCtrl.show()
                    }).
                    catch(function(t) {
                        return console.log(t.errMsg)
                    })
                } else console.log("mycb\u4e8b\u4ef6\u56de\u8c03"),
                cc.sys.platform == cc.sys.DESKTOP_BROWSER && this.videoAdCall(1)
            },
            showInst: function() {
                if (window.qg) {
                    var t = qg.createInterstitialAd({
                        adUnitId: this.inst_adUnitId
                    });
                    t.onLoad(function() {
                        t.show()
                    }),
                    t.onError(function(t) {
                        console.log("\u63d2\u5c4f\u5e7f\u544a\u52a0\u8f7d\u51fa\u9519 " + JSON.stringify(t))
                    })
                }
            }
        }),
        cc._RF.pop()
    },
    {
        BaseManager: "BaseManager"
    }],
    aboveBarMgr: [function(t, e, o) {
        "use strict";
        cc._RF.push(e, "3b6c89veyFIL5QCdyd7mdCA", "aboveBarMgr"),
        Object.defineProperty(o, "__esModule", {
            value: !0
        });
        var n = t("../../utils/Emitter"),
        i = t("./levelSkillSelect"),
        a = t("../../utils/myConfigManager"),
        r = t("../../data/weaponConfig"),
        s = t("../../utils/AudioMgr"),
        c = t("../../utils/GameManager"),
        l = t("../TutorialEnum"),
        d = cc._decorator,
        u = d.ccclass,
        h = d.property,
        p = function(t) {
            function e() {
                var e = null !== t && t.apply(this, arguments) || this;
                return e.expProgress = null,
                e.lvLabel = null,
                e.bossHpProgress = null,
                e.bossNameLabel = null,
                e.levelSkillNode = null,
                e._curExp = 0,
                e._curLv = 0,
                e._levelExpInfo = {
                default:
                    5,
                    add: 5
                },
                e._curPer = 0,
                e
            }
            return __extends(e, t),
            e.prototype.onLoad = function() {
                n.
            default.getInstance().on("aboveBarMgr", this.aboveBarEvent, this)
            },
            e.prototype.onDestroy = function() {
                n.
            default.getInstance().off("aboveBarMgr", this)
            },
            e.prototype.aboveBarEvent = function(t) {
                if ("getExp" == t.name) {
                    this._curExp += t.exp,
                    a.
                default.getInstance()._curGetExp += t.exp;
                    var e = a.
                default.getInstance()._curLevelPass % 10;
                    4 == e || 9 == e ? (this.showGoblin(), s.
                default.getInstance().playSFX("Goblin")):
                    this.showSkillSelect()
                } else "showBossHp" == t.name ? (this.bossNameLabel.string = t.bossName, this.expProgress.node.active = !t.isShow, this.bossHpProgress.node.active = t.isShow) : "upBossHp" == t.name && (this.bossHpProgress.progress = t.pre)
            },
            e.prototype.doNextLevel = function() {
                c.
            default.getInstance().getTutorialData(l.TutorialEnum.step_fx - 1) || n.
            default.getInstance().emit("myGameControl", {
                    name: "nextLv"
                })
            },
            e.prototype.doExpProgressBar = function(t) {
                t >= 1 ? (t -= 1, cc.tween(this.expProgress).to(.2, {
                    progress: 1
                }).to(0, {
                    progress: 0
                }).to(.2, {
                    progress: t
                }).start()) : cc.tween(this.expProgress).to(.2, {
                    progress: t
                }).start()
            },
            e.prototype.showGoblin = function() {
                this.levelSkillNode.setIsFix(),
                this.levelSkillNode.node.active = !0,
                this.levelSkillNode.setFunc(this.doNextLevel, this)
            },
            e.prototype.showSkillSelect = function() {
                var t = this._levelExpInfo.
            default + this._curLv * this._levelExpInfo.add,
                e = 0;
                this._curExp >= t ? (this._curLv++, this._curExp -= t, t = this._levelExpInfo.
            default + this._curLv * this._levelExpInfo.add, e++, this.levelSkillNode.node.active = !0, this.levelSkillNode.setFunc(this.doNextLevel, this), this.lvLabel.string = "Lv." + this._curLv, a.
            default.getInstance().addFullProperty(r.EquipPropertyEnum.onceRestoreBlood, 20)) : this.doNextLevel(),
                e += this._curExp / t,
                this.doExpProgressBar(e)
            },
            __decorate([h(cc.ProgressBar)], e.prototype, "expProgress", void 0),
            __decorate([h(cc.Label)], e.prototype, "lvLabel", void 0),
            __decorate([h(cc.ProgressBar)], e.prototype, "bossHpProgress", void 0),
            __decorate([h(cc.Label)], e.prototype, "bossNameLabel", void 0),
            __decorate([h(i.
        default)], e.prototype, "levelSkillNode", void 0),
            __decorate([u], e)
        } (cc.Component);
        o.
    default = p,
        cc._RF.pop()
    },
    {
        "../../data/weaponConfig": "weaponConfig",
        "../../utils/AudioMgr": "AudioMgr",
        "../../utils/Emitter": "Emitter",
        "../../utils/GameManager": "GameManager",
        "../../utils/myConfigManager": "myConfigManager",
        "../TutorialEnum": "TutorialEnum",
        "./levelSkillSelect": "levelSkillSelect"
    }],
    addGridNode: [function(t, e, o) {
        "use strict";
        cc._RF.push(e, "fce6cZp/zhLHYrBb+fvslcr", "addGridNode"),
        Object.defineProperty(o, "__esModule", {
            value: !0
        });
        var n = t("../../utils/AudioMgr"),
        i = t("../../utils/GameManager"),
        a = cc._decorator,
        r = a.ccclass,
        s = a.property,
        c = function(t) {
            function e() {
                var e = null !== t && t.apply(this, arguments) || this;
                return e.titleLabel = null,
                e.curGridLabel = null,
                e.newGridLabel = null,
                e.priceRichText = null,
                e._curKind = 0,
                e._backCallFun = null,
                e._backObj = null,
                e._priceNum = 0,
                e._title = "",
                e
            }
            return __extends(e, t),
            e.prototype.onLoad = function() {
                var t = i.
            default.getInstance().getData("selfPackCap")[this._curKind],
                e = "";
                0 == this._curKind ? e = "selfRuneList": 1 == this._curKind && (e = "selfEquipList");
                var o = i.
            default.getInstance().getData(e);
                this.curGridLabel.string = o.length + "/" + t,
                this.newGridLabel.string = o.length + "/" + (t + 10),
                this._priceNum = Math.floor(t / 10 * 5),
                this.priceRichText.string = cc.js.formatStr("<img src='icon_coin' /><color=#ffffff>%s</color>", this._priceNum),
                "" != this._title && (this.titleLabel.string = this._title)
            },
            e.prototype.setKind = function(t, e, o) {
                void 0 === e && (e = null),
                void 0 === o && (o = null),
                this._curKind = t,
                this._backObj = e,
                this._backCallFun = o
            },
            e.prototype.setTitle = function(t) {
                this._title = t
            },
            e.prototype.closeBtn = function() {
                n.
            default.getInstance().playButton(),
                this.node.getComponent("windowOpenEffect").closePanel(),
                this._backCallFun && this._backCallFun.call(this._backObj)
            },
            e.prototype.buyBtn = function() {
                if (i.
            default.getInstance().expendStone(this._priceNum)) {
                    var t = i.
                default.getInstance().getData("selfPackCap");
                    t[this._curKind] += 10,
                    i.
                default.getInstance().setData("selfPackCap", t),
                    i.
                default.getInstance().showToast("\u8d2d\u4e70\u6210\u529f"),
                    this.closeBtn(null, null)
                } else i.
            default.getInstance().showToast("\u8d2d\u4e70\u5931\u8d25")
            },
            __decorate([s(cc.Label)], e.prototype, "titleLabel", void 0),
            __decorate([s(cc.Label)], e.prototype, "curGridLabel", void 0),
            __decorate([s(cc.Label)], e.prototype, "newGridLabel", void 0),
            __decorate([s(cc.RichText)], e.prototype, "priceRichText", void 0),
            __decorate([r], e)
        } (cc.Component);
        o.
    default = c,
        cc._RF.pop()
    },
    {
        "../../utils/AudioMgr": "AudioMgr",
        "../../utils/GameManager": "GameManager"
    }],
    androidManager: [function(t, e) {
        "use strict";
        cc._RF.push(e, "45e9fVP/plILKH4kO0iqCrw", "androidManager");
        var o = t("BaseManager");
        cc.Class({
            extends: o,
            ctor: function() {
                this._videoCall = null
            },
            initSDK: function() {
                this.myAdChannel = "android",
                cc.systemEvent.on(cc.SystemEvent.EventType.KEY_DOWN, this.onKeyDown, this)
            },
            showVideo: function(t) {
                this._videoCall = t,
                this.showAdInGame(2)
            },
            showInst: function() {
                this.showAdInGame(1)
            },
            showNative: function() {
                this.showAdInGame(1)
            },
            onKeyDown: function(t) {
                switch (console.log("Press back key = " + t.keyCode), t.keyCode) {
                case cc.macro.KEY.back:
                    console.log("Press back key"),
                    this.exitGameInJava()
                }
            },
            PurchaseOrderJNI: function(t) {
                if (cc.sys.platform != cc.sys.VIVO_GAME && cc.sys.platform != cc.sys.OPPO_GAME) {
                    var e = parseInt(t);
                    "undefined" != typeof jsb && cc.sys.os == cc.sys.OS_ANDROID ? jsb.reflection.callStaticMethod("org/cocos2dx/javascript/AppActivity", "PurchaseOrder", "(I)V", e) : this.PaySuccess(e)
                }
            },
            exitGameInJava: function() {
                if (cc.sys.platform != cc.sys.VIVO_GAME && cc.sys.platform != cc.sys.OPPO_GAME) if (cc.sys.os == cc.sys.OS_ANDROID) {
                    if ("undefined" == typeof jsb) return;
                    jsb.reflection.callStaticMethod("org/cocos2dx/javascript/AppActivity", "exitGame", "()V")
                } else cc.sys.os,
                cc.sys.OS_IOS
            },
            showAdInGame: function(t) {
                if (cc.sys.platform != cc.sys.VIVO_GAME && cc.sys.platform != cc.sys.OPPO_GAME) if (cc.sys.os == cc.sys.OS_ANDROID) {
                    if ("undefined" == typeof jsb) return;
                    jsb.reflection.callStaticMethod("org/cocos2dx/javascript/AppActivity", "showAdInGame", "(I)V", t)
                } else if (cc.sys.os == cc.sys.OS_IOS) {
                    if ("undefined" == typeof jsb) return;
                    2 == t && this.completeVideo()
                }
            },
            setVideoCall: function(t) {
                this._videoCall = t
            },
            completeVideo: function() {
                this._videoCall(1)
            },
            failVideo: function() {
                this._videoCall(0)
            },
            umengEvent: function(t, e) {
                cc.sys.os == cc.sys.OS_IOS && jsb.reflection.callStaticMethod("NativeOcClass", "callNativeUIWithTitle:andContent:", t, e)
            },
            commentEvent: function(t) {
                cc.sys.os == cc.sys.OS_IOS && jsb.reflection.callStaticMethod("NativeOcClass", "callNativeUIWithTitle:", t)
            },
            getIsHaveDesktopIcon: function() {
                return cc.sys.os == cc.sys.OS_IOS
            }
        }),
        cc._RF.pop()
    },
    {
        BaseManager: "BaseManager"
    }],
    attackWarningMgr: [function(t, e, o) {
        "use strict";
        cc._RF.push(e, "91a08c23ZZBOboO2TxYsDqT", "attackWarningMgr"),
        Object.defineProperty(o, "__esModule", {
            value: !0
        });
        var n = t("../../utils/Emitter"),
        i = cc._decorator,
        a = i.ccclass,
        r = i.property,
        s = function(t) {
            function e() {
                var e = null !== t && t.apply(this, arguments) || this;
                return e.attackWarningNode = null,
                e
            }
            return __extends(e, t),
            e.prototype.onLoad = function() {
                n.
            default.getInstance().on("attackWarning", this.attackWarning, this)
            },
            e.prototype.onDestroy = function() {
                n.
            default.getInstance().off("attackWarning", this)
            },
            e.prototype.attackWarning = function(t) {
                var e = cc.instantiate(this.attackWarningNode),
                o = t.width / e.width;
                e.width *= o,
                e.height *= o,
                e.setPosition(t.pos),
                this.node.addChild(e)
            },
            __decorate([r(cc.Prefab)], e.prototype, "attackWarningNode", void 0),
            __decorate([a], e)
        } (cc.Component);
        o.
    default = s,
        cc._RF.pop()
    },
    {
        "../../utils/Emitter": "Emitter"
    }],
    attackWarningNode: [function(t, e, o) {
        "use strict";
        cc._RF.push(e, "b6478Ja1opNx57Fkzitl35n", "attackWarningNode"),
        Object.defineProperty(o, "__esModule", {
            value: !0
        });
        var n = cc._decorator,
        i = n.ccclass,
        a = n.property,
        r = function(t) {
            function e() {
                var e = null !== t && t.apply(this, arguments) || this;
                return e.ArrowNode = null,
                e
            }
            return __extends(e, t),
            e.prototype.onLoad = function() {
                var t = this;
                cc.tween(this.ArrowNode).by(.2, {
                    y: 20
                }).by(.2, {
                    y: -20
                }).union().repeatForever().start(),
                cc.tween(this.node).delay(1).call(function() {
                    t.node.removeFromParent(),
                    t.node.destroy()
                }).start()
            },
            __decorate([a(cc.Node)], e.prototype, "ArrowNode", void 0),
            __decorate([i], e)
        } (cc.Component);
        o.
    default = r,
        cc._RF.pop()
    },
    {}],
    awardTipsNode: [function(t, e, o) {
        "use strict";
        cc._RF.push(e, "14897C9iVZMLpYNxcO8TVDQ", "awardTipsNode"),
        Object.defineProperty(o, "__esModule", {
            value: !0
        });
        var n = t("../../utils/AudioMgr"),
        i = t("../../control/ResManager"),
        a = t("../../data/shopConfig"),
        r = t("../../utils/Emitter"),
        s = cc._decorator,
        c = s.ccclass,
        l = s.property,
        d = function(t) {
            function e() {
                var e = null !== t && t.apply(this, arguments) || this;
                return e.rootNode = null,
                e.titleNode = null,
                e.itemNode = null,
                e.titleLabel = null,
                e._awardInfo = null,
                e._titleString = "",
                e._showEffect = [],
                e._tureCallBack = null,
                e
            }
            return __extends(e, t),
            e.prototype.onLoad = function() {
                this.itemNode.parent = null,
                "" != this._titleString && (this.titleLabel.string = this._titleString),
                this.initView()
            },
            e.prototype.start = function() {},
            e.prototype.setAwardInfo = function(t, e) {
                void 0 === e && (e = "");
                var o = [];
                Array.isArray(t) ? o = t: o.push(t),
                this._awardInfo = o,
                this._titleString = e
            },
            e.prototype.setCallBack = function(t) {
                this._tureCallBack = t
            },
            e.prototype.initView = function() {
                if (this._awardInfo) {
                    n.
                default.getInstance().playSFX("getAward");
                    for (var t = 0; t < this._awardInfo.length; t++) {
                        var e = this._awardInfo[t],
                        o = cc.instantiate(this.itemNode);
                        e.frame && e.frame > 0 && (o.getComponent(cc.Sprite).spriteFrame = i.
                    default._instance.DropAward.getSpriteFrame("quality_" + e.frame)),
                        o.active = !0,
                        this.rootNode.addChild(o);
                        var r = e.name,
                        s = i.
                    default._instance.DropAward.getSpriteFrame(r),
                        c = 60 / s.getRect().width,
                        l = o.getChildByName("icon");
                        l.scale = c,
                        l.getComponent(cc.Sprite).spriteFrame = s,
                        o.getComponentInChildren(cc.Label).string = e.num,
                        e.kind == a.myAwardEnum.gold ? this._showEffect.push("gold") : e.kind == a.myAwardEnum.stone ? this._showEffect.push("stone") : e.kind == a.myAwardEnum.power && this._showEffect.push("pow")
                    }
                    this.scheduleOnce(function() {
                        this.titleNode.width = this.rootNode.width + 33
                    },
                    .1)
                }
            },
            e.prototype.closeBtnCall = function() {
                this._showEffect.forEach(function(t) {
                    r.
                default.getInstance().emit("coin_fly", {
                        name: t,
                        startpos: cc.v2(0, 0)
                    })
                }),
                n.
            default.getInstance().playButton(),
                this._tureCallBack && this._tureCallBack(),
                this.node.getComponent("windowOpenEffect").closePanel(!1)
            },
            __decorate([l(cc.Node)], e.prototype, "rootNode", void 0),
            __decorate([l(cc.Node)], e.prototype, "titleNode", void 0),
            __decorate([l(cc.Node)], e.prototype, "itemNode", void 0),
            __decorate([l(cc.Label)], e.prototype, "titleLabel", void 0),
            __decorate([c], e)
        } (cc.Component);
        o.
    default = d,
        cc._RF.pop()
    },
    {
        "../../control/ResManager": "ResManager",
        "../../data/shopConfig": "shopConfig",
        "../../utils/AudioMgr": "AudioMgr",
        "../../utils/Emitter": "Emitter"
    }],
    coinFly: [function(t, e, o) {
        "use strict";
        cc._RF.push(e, "82591vF9cBF+aj0hnkVkMt/", "coinFly"),
        Object.defineProperty(o, "__esModule", {
            value: !0
        });
        var n = t("../../utils/Emitter"),
        i = t("../../utils/AudioMgr"),
        a = cc._decorator,
        r = a.ccclass,
        s = a.property,
        c = function(t) {
            function e() {
                var e = null !== t && t.apply(this, arguments) || this;
                return e.goldEndPoint = null,
                e.gemEndPoint = null,
                e.powEndPoint = null,
                e.coinNode = null,
                e.particleNode = null,
                e.flyFrame = [],
                e.startPoint = null,
                e.coinPool = null,
                e._flyKind = 0,
                e._endPos = null,
                e._targetPos = [],
                e
            }
            return __extends(e, t),
            e.prototype.onLoad = function() {
                this.node.zIndex = 100,
                this.scheduleOnce(function() {
                    this._targetPos = [this.goldEndPoint.convertToWorldSpaceAR(cc.v2()), this.gemEndPoint.convertToWorldSpaceAR(cc.v2()), this.powEndPoint.convertToWorldSpaceAR(cc.v2())]
                },
                .1),
                this.coinPool = new cc.NodePool,
                this.initCoinPool(40),
                n.
            default.getInstance().on("coin_fly", this.playAnim, this)
            },
            e.prototype.onDestroy = function() {
                n.
            default.getInstance().off("coin_fly", this)
            },
            e.prototype.initCoinPool = function(t) {
                void 0 === t && (t = 20);
                for (var e = 0; e < t; e++) {
                    var o = cc.instantiate(this.coinNode);
                    this.coinPool.put(o)
                }
            },
            e.prototype.playAnim = function(t) {
                var e = cc.v2(),
                o = null;
                "gold" == t.name ? (this._flyKind = 0, o = this.goldEndPoint) : "stone" == t.name ? (this._flyKind = 1, o = this.gemEndPoint) : "pow" == t.name && (this._flyKind = 2, o = this.powEndPoint),
                e = this._targetPos[this._flyKind];
                var n = this.node.convertToNodeSpaceAR(e),
                i = 10 * Math.random() + 10,
                a = t.startpos;
                this.playCoinFlyAnim(i, a, n, o)
            },
            e.prototype.playCoinFlyAnim = function(t, e, o, n, a) {
                var r = this;
                void 0 === a && (a = 130);
                var s = this.coinPool.size(),
                c = s > t ? 0 : t - s;
                this.initCoinPool(c);
                var l = this.getCirclePoints(a, e, t).map(function(t) {
                    var n = r.coinPool.get();
                    return n.getComponent(cc.Sprite).spriteFrame = r.flyFrame[r._flyKind],
                    n.setPosition(e),
                    r.node.addChild(n),
                    {
                        node: n,
                        stPos: e,
                        mdPos: t,
                        edPos: o,
                        dis: t.sub(o).mag()
                    }
                }); (l = l.sort(function(t, e) {
                    return t.dis - e.dis > 0 ? 1 : t.dis - e.dis < 0 ? -1 : 0
                })).forEach(function(t, e) {
                    t.node.runAction(cc.sequence(cc.moveTo(.2, t.mdPos), cc.delayTime(.01 * e), cc.moveTo(.5, t.edPos), cc.callFunc(function(e, o) {
                        i.
                    default.getInstance().playSFX("coin");
                        var n = o.getComponentInChildren(cc.ParticleSystem);
                        n && n.stopped && n.resetSystem();
                        var a = o.getChildByName("effect");
                        a && 0 == a.opacity && (a.scale = 1, a.opacity = 255, a.stopAllActions(), cc.tween(a).to(.1, {
                            scale: 1.5,
                            opacity: 0
                        }).start()),
                        r.coinPool.put(t.node)
                    },
                    r, n)))
                })
            },
            e.prototype.getCirclePoints = function(t, e, o, n) {
                void 0 === n && (n = 60);
                for (var i = [], a = Math.PI / 180 * Math.round(360 / o), r = 0; r < o; r++) {
                    var s = e.x + t * Math.sin(a * r),
                    c = e.y + t * Math.cos(a * r);
                    i.unshift(cc.v3(s + Math.random() * n, c + Math.random() * n, 0))
                }
                return i
            },
            __decorate([s(cc.Node)], e.prototype, "goldEndPoint", void 0),
            __decorate([s(cc.Node)], e.prototype, "gemEndPoint", void 0),
            __decorate([s(cc.Node)], e.prototype, "powEndPoint", void 0),
            __decorate([s(cc.Node)], e.prototype, "coinNode", void 0),
            __decorate([s(cc.ParticleSystem)], e.prototype, "particleNode", void 0),
            __decorate([s([cc.SpriteFrame])], e.prototype, "flyFrame", void 0),
            __decorate([r], e)
        } (cc.Component);
        o.
    default = c,
        cc._RF.pop()
    },
    {
        "../../utils/AudioMgr": "AudioMgr",
        "../../utils/Emitter": "Emitter"
    }],
    collisionNode: [function(t, e, o) {
        "use strict";
        cc._RF.push(e, "5f82eSIl3tKVII9lg6yhLpf", "collisionNode"),
        Object.defineProperty(o, "__esModule", {
            value: !0
        });
        var n = t("../../control/ActorManager"),
        i = t("../../utils/AudioMgr"),
        a = cc._decorator,
        r = a.ccclass,
        s = a.property,
        c = function(t) {
            function e() {
                var e = null !== t && t.apply(this, arguments) || this;
                return e.rootNode = null,
                e
            }
            return __extends(e, t),
            e.prototype.onLoad = function() {},
            e.prototype.onCollisionEnter = function(t) {
                var e = t.node.getComponent("SkillBase");
                if (e) {
                    if (!e._isSkillActive) return;
                    i.
                default.getInstance().doShock(1),
                    this.rootNode.doHit(e.hitHurt, e.myEffectKind)
                }
            },
            __decorate([s(n.
        default)], e.prototype, "rootNode", void 0),
            __decorate([r], e)
        } (cc.Component);
        o.
    default = c,
        cc._RF.pop()
    },
    {
        "../../control/ActorManager": "ActorManager",
        "../../utils/AudioMgr": "AudioMgr"
    }],
    commentBtn: [function(t, e, o) {
        "use strict";
        cc._RF.push(e, "486fa6Al9JEjY78+wa0vFey", "commentBtn"),
        Object.defineProperty(o, "__esModule", {
            value: !0
        });
        var n = t("../../utils/Emitter"),
        i = t("../../utils/wyxTools"),
        a = cc._decorator,
        r = a.ccclass,
        s = a.property,
        c = function(t) {
            function e() {
                var e = null !== t && t.apply(this, arguments) || this;
                return e.targetNode = null,
                e
            }
            return __extends(e, t),
            e.prototype.onLoad = function() {
                var t = new cc.Component.EventHandler;
                t.target = this.node,
                t.component = "commentBtn",
                t.handler = "btnCall",
                t.customEventData = "",
                this.targetNode || (this.targetNode = this.node),
                this.targetNode.addComponent(cc.Button).clickEvents.push(t),
                n.
            default.getInstance().on("commentBtn", this.commentBtnState, this)
            },
            e.prototype.onEnable = function() {
                var t = i.
            default.getIntData("end_commentComplete", 0);
                this.targetNode.active = cc.adCtl.getIsHaveDesktopIcon() && !t
            },
            e.prototype.onDestroy = function() {
                n.
            default.getInstance().off("commentBtn", this)
            },
            e.prototype.commentBtnState = function() {
                var t = i.
            default.getIntData("end_commentComplete", 0);
                this.targetNode.active = cc.adCtl.getIsHaveDesktopIcon() && !t
            },
            e.prototype.btnCall = function() {
                n.
            default.getInstance().emit("showUI", {
                    name: "saveIconNode"
                }),
                this.targetNode.active = !1
            },
            __decorate([s(cc.Node)], e.prototype, "targetNode", void 0),
            __decorate([r], e)
        } (cc.Component);
        o.
    default = c,
        cc._RF.pop()
    },
    {
        "../../utils/Emitter": "Emitter",
        "../../utils/wyxTools": "wyxTools"
    }],
    commentNode: [function(t, e, o) {
        "use strict";
        cc._RF.push(e, "7899eKeuFNNG4OrvWXaSvdk", "commentNode"),
        Object.defineProperty(o, "__esModule", {
            value: !0
        });
        var n = t("../../data/shopConfig"),
        i = t("../../utils/AudioMgr"),
        a = t("../../utils/Emitter"),
        r = t("../../utils/GameManager"),
        s = t("../../utils/wyxTools"),
        c = cc._decorator,
        l = c.ccclass,
        d = (c.property,
        function(t) {
            function e() {
                return null !== t && t.apply(this, arguments) || this
            }
            return __extends(e, t),
            e.prototype.onLoad = function() {
                var t = (new Date).getDate();
                s.
            default.setData("end_comment", t)
            },
            e.prototype.start = function() {},
            e.prototype.closeBtn = function() {
                i.
            default.getInstance().playButton(),
                a.
            default.getInstance().emit("commentBtn", null),
                this.node.getComponent("windowOpenEffect").closePanel()
            },
            e.prototype.doScoreBtn = function() {
                this.doAward(),
                this.closeBtn(null, null),
                cc.adCtl.commentEvent(0)
            },
            e.prototype.doCommentBtn = function() {
                this.doAward(),
                this.closeBtn(null, null),
                cc.adCtl.commentEvent(1)
            },
            e.prototype.doAward = function() {
                s.
            default.setData("end_commentComplete", 1),
                r.
            default.getInstance().getAwardsByKind({
                    awardId:
                    n.myAwardEnum.stone,
                    num: 300
                })
            },
            e.prototype.doSaveIcon = function() {
                i.
            default.getInstance().playButton(),
                this.doAward(),
                this.closeBtn(null, null),
                cc.adCtl.saveDesktopIcon(null)
            },
            __decorate([l], e)
        } (cc.Component));
        o.
    default = d,
        cc._RF.pop()
    },
    {
        "../../data/shopConfig": "shopConfig",
        "../../utils/AudioMgr": "AudioMgr",
        "../../utils/Emitter": "Emitter",
        "../../utils/GameManager": "GameManager",
        "../../utils/wyxTools": "wyxTools"
    }],
    compoundNode: [function(t, e, o) {
        "use strict";
        cc._RF.push(e, "9f17d2K1B1KYYYzuktoHdfj", "compoundNode"),
        Object.defineProperty(o, "__esModule", {
            value: !0
        });
        var n = t("../../utils/Emitter"),
        i = t("../../utils/myConfigManager"),
        a = t("../../data/shopConfig"),
        r = t("../../control/ResManager"),
        s = t("../../utils/AudioMgr"),
        c = t("../../utils/GameManager"),
        l = t("../../data/weaponConfig"),
        d = cc._decorator,
        u = d.ccclass,
        h = d.property,
        p = function(t) {
            function e() {
                var e = null !== t && t.apply(this, arguments) || this;
                return e.ItemList = [],
                e.targetNode = null,
                e.priceText = null,
                e.tiejiangNode = null,
                e.completeEffect = null,
                e._curComposeItem = null,
                e._isCanComPose = !1,
                e._curCompoundKind = "",
                e._curCompEquip = null,
                e._recordComitem = [],
                e
            }
            return __extends(e, t),
            e.prototype.onLoad = function() {
                this.tiejiangNode.addEventListener(dragonBones.EventObject.COMPLETE, this._animationEventHandler, this),
                this.tiejiangNode.addEventListener(dragonBones.EventObject.LOOP_COMPLETE, this._loopComplete, this)
            },
            e.prototype.onEnable = function() {
                n.
            default.getInstance().on("compoundState", this.compoundState, this),
                this.initView()
            },
            e.prototype.onDisable = function() {
                this.resetState(),
                n.
            default.getInstance().off("compoundState", this)
            },
            e.prototype.onDestroy = function() {
                n.
            default.getInstance().off("compoundState", this)
            },
            e.prototype._loopComplete = function(t) {
                "start" == t.animationState.name && s.
            default.getInstance().playSFX("datie")
            },
            e.prototype._animationEventHandler = function() {
                if (this._curComposeItem) {
                    if ("rune" == this._curCompoundKind) {
                        var t = i.
                    default.getInstance().getNameByAwardKind(a.myAwardEnum.rune, this._curComposeItem.kind);
                        t += this._curComposeItem.lv + 1;
                        var e = Math.floor((this._curComposeItem.lv + 1) / 4) + 1;
                        c.
                    default.getInstance().showAwardTips([{
                            name:
                            t,
                            num: 1,
                            frame: e
                        }], "\u5408\u6210\u6210\u529f")
                    } else if ("weapon" == this._curCompoundKind && this._curCompEquip) {
                        var o = JSON.parse(JSON.stringify(this._curCompEquip));
                        c.
                    default.getInstance().getMyPrefab("viewPrefabs/equipInfoNode_s").then(function(t) {
                            var e = cc.instantiate(t);
                            e.getComponent("EquipInfoNode").setEquipData(o, 0, null, null),
                            e.getComponent("EquipInfoNode").setPreview(),
                            cc.find("Canvas").addChild(e)
                        }),
                        n.
                    default.getInstance().emit("selectItemState", {
                            name: "refresh_all"
                        })
                    }
                    this.resetState()
                }
            },
            e.prototype.initView = function() {
                for (var t = 0; t < this.ItemList.length; t++) this.ItemList[t].getChildByName("icon").active = !1
            },
            e.prototype.compoundState = function(t) {
                this._recordComitem = t.data,
                this._curCompoundKind = t.name,
                this.refreshUIData()
            },
            e.prototype.refreshUIData = function() {
                this._isCanComPose = !1;
                for (var t = 0; t < this.ItemList.length; t++) {
                    var e = this.ItemList[t].getChildByName("icon");
                    if (this._recordComitem.length > t) {
                        var o = this._recordComitem[t],
                        n = "";
                        "rune" == this._curCompoundKind ? (n = i.
                    default.getInstance().getNameByAwardKind(a.myAwardEnum.rune, o.kind), n += o.lv) : "weapon" == this._curCompoundKind && (n = i.
                    default.getInstance().getNameByAwardKind(o.kind) + o.index),
                        e.getComponent(cc.Sprite).spriteFrame = r.
                    default._instance.DropAward.getSpriteFrame(n)
                    }
                    e.active = this._recordComitem.length > t
                }
                if (3 == this._recordComitem.length) {
                    var s = Math.floor(Math.random() * this._recordComitem.length);
                    this._curComposeItem = JSON.parse(JSON.stringify(this._recordComitem[s])),
                    this._isCanComPose = !0
                }
            },
            e.prototype.startComposeBtn = function() {
                if (!this._curCompEquip) if (s.
            default.getInstance().playButton(), this._isCanComPose) {
                    var t = null;
                    if ("rune" == this._curCompoundKind);
                    else if ("weapon" == this._curCompoundKind) {
                        var e = this._curComposeItem.quality + 1,
                        o = null;
                        e > 4 && (e = 4, o = Math.floor(Math.random() * l.suitPropertyList.length) + 1),
                        t = i.
                    default.getInstance().getWeaponByKind(this._curComposeItem.kind, e, this._curComposeItem.index, o),
                        this._curCompEquip = t
                    }
                    n.
                default.getInstance().emit("selectItemState", {
                        name: "start_compose",
                        data: t
                    }),
                    this.startAct()
                } else c.
            default.getInstance().showToast("\u9700\u8981\u4e09\u4e2a\u624d\u80fd\u5408\u6210")
            },
            e.prototype.closeComposeBtn = function() {
                s.
            default.getInstance().playButton(),
                this.resetState(),
                this.tiejiangNode.playAnimation("idle", -1),
                n.
            default.getInstance().emit("selectItemState", {
                    name: "compose_back"
                })
            },
            e.prototype.closeSingleBtn = function(t, e) {
                if (this._recordComitem.length > parseInt(e)) {
                    s.
                default.getInstance().playButton();
                    var o = this._recordComitem.splice(parseInt(e), 1);
                    n.
                default.getInstance().emit("selectItemState", {
                        name: "compose_cancelSingle",
                        mySelectIndex: o[0].mySelectIndex
                    }),
                    this.refreshUIData()
                }
            },
            e.prototype.startAct = function() {
                var t = this;
                s.
            default.getInstance().playSFX("comp_start");
                for (var e = this.targetNode.children[0], o = function(o) {
                    var i = n.ItemList[o].getChildByName("icon"),
                    a = i.convertToWorldSpaceAR(cc.v2()),
                    r = n.targetNode.convertToNodeSpaceAR(a),
                    c = cc.instantiate(e);
                    c.getComponent(cc.Sprite).spriteFrame = n.ItemList[o].getChildByName("icon").getComponent(cc.Sprite).spriteFrame,
                    c.active = !0,
                    c.setPosition(r),
                    n.targetNode.addChild(c),
                    i.active = !1;
                    var l = 80 * o - 80,
                    d = (r.add(cc.v2(l, 100)), cc.v2(0, 0)),
                    u = 100 * Math.random() > 50 ? -1 : 1,
                    h = cc.spawn(cc.bezierTo(1, [cc.v2(d.x - 300 * u, d.y - 200), cc.v2(d.x + 300 * u, d.y - 200), cc.v2(0, 0)]), cc.scaleTo(1, .5));
                    cc.tween(c).delay(.3 * o).then(h).call(function() {
                        s.
                    default.getInstance().playSFX("composeEffect"),
                        t.completeEffect.active = !0,
                        0 == o && t.tiejiangNode.playAnimation("start", 1)
                    }).delay(1).call(function() {
                        c.removeFromParent(),
                        c.destroy()
                    }).start()
                },
                n = this, i = 0; i < this.ItemList.length; i++) o(i)
            },
            e.prototype.resetState = function() {
                this.completeEffect.active = !1,
                this._isCanComPose = !1,
                this._curComposeItem = null,
                this._curCompEquip = null,
                this.tiejiangNode.playAnimation("idle", -1),
                this.targetNode.children.forEach(function(t, e) {
                    e > 0 && (t.removeFromParent(), t.destroy())
                })
            },
            __decorate([h([cc.Node])], e.prototype, "ItemList", void 0),
            __decorate([h(cc.Node)], e.prototype, "targetNode", void 0),
            __decorate([h(cc.RichText)], e.prototype, "priceText", void 0),
            __decorate([h(dragonBones.ArmatureDisplay)], e.prototype, "tiejiangNode", void 0),
            __decorate([h(cc.Node)], e.prototype, "completeEffect", void 0),
            __decorate([u], e)
        } (cc.Component);
        o.
    default = p,
        cc._RF.pop()
    },
    {
        "../../control/ResManager": "ResManager",
        "../../data/shopConfig": "shopConfig",
        "../../data/weaponConfig": "weaponConfig",
        "../../utils/AudioMgr": "AudioMgr",
        "../../utils/Emitter": "Emitter",
        "../../utils/GameManager": "GameManager",
        "../../utils/myConfigManager": "myConfigManager"
    }],
    customsIcon: [function(t, e, o) {
        "use strict";
        cc._RF.push(e, "35a0fqPa/RFmLELBa/EWPsa", "customsIcon"),
        Object.defineProperty(o, "__esModule", {
            value: !0
        });
        var n = cc._decorator,
        i = n.ccclass,
        a = n.property,
        r = function(t) {
            function e() {
                var e = null !== t && t.apply(this, arguments) || this;
                return e.degreeLabel = null,
                e.curLvLabel = null,
                e.maxLvLabel = null,
                e.normalNode = null,
                e.hardNode = null,
                e.bossNode = null,
                e._maxLv = 0,
                e._curLv = 0,
                e
            }
            return __extends(e, t),
            e.prototype.onLoad = function() {},
            e.prototype.setDegreeCtl = function(t) {
                this.normalNode.active = 0 == t,
                this.hardNode.active = 1 == t,
                this.degreeLabel.string = 0 == t ? "\u666e\u901a": "\u56f0\u96be"
            },
            e.prototype.setMaxLv = function(t) {
                this._maxLv = t,
                this.maxLvLabel.string = "/" + this._maxLv
            },
            e.prototype.setCurLv = function(t) {
                this._curLv = t,
                this.curLvLabel.string = this._curLv + ""
            },
            e.prototype.setBoss = function(t) {
                this.bossNode.active = t
            },
            __decorate([a(cc.Label)], e.prototype, "degreeLabel", void 0),
            __decorate([a(cc.Label)], e.prototype, "curLvLabel", void 0),
            __decorate([a(cc.Label)], e.prototype, "maxLvLabel", void 0),
            __decorate([a(cc.Node)], e.prototype, "normalNode", void 0),
            __decorate([a(cc.Node)], e.prototype, "hardNode", void 0),
            __decorate([a(cc.Node)], e.prototype, "bossNode", void 0),
            __decorate([i], e)
        } (cc.Component);
        o.
    default = r,
        cc._RF.pop()
    },
    {}],
    dartleSkill: [function(t, e, o) {
        "use strict";
        cc._RF.push(e, "686a8iV9xNNh5SgXYEJtiKH", "dartleSkill"),
        Object.defineProperty(o, "__esModule", {
            value: !0
        });
        var n = t("../utils/myConfigManager"),
        i = t("../data/enemyInfoEnum"),
        a = t("../utils/Emitter"),
        r = t("./CommonSkill"),
        s = cc._decorator,
        c = s.ccclass,
        l = s.property,
        d = function(t) {
            function e() {
                var e = null !== t && t.apply(this, arguments) || this;
                return e.launchTimes = 1,
                e.isDartle = !0,
                e._count = 4,
                e
            }
            return __extends(e, t),
            e.prototype.onLoad = function() {
                this.initSkill(this)
            },
            e.prototype.doSkill = function(t, e) {
                var o = this;
                return new Promise(function(t) {
                    for (var r = o.node.getPosition(), s = e, c = 20 * Math.random() + 200, l = 0; l < o.launchTimes; l++) {
                        var d = Math.floor((l + 1) / 2) * (c *= -1);
                        d += 20 * Math.random() - 10;
                        var u = cc.v2(s.x + d, s.y),
                        h = n.
                    default.getInstance().getNameBySkillPrefabKind(o.mySkillprafabSkill);
                        a.
                    default.getInstance().emit("launch_Skill", {
                            name: h,
                            startPos: r,
                            toPos: u,
                            maxDis: o.maxTrigger,
                            hit: o.hurtNum,
                            kind: 1
                        })
                    }
                    o._count--,
                    o._count > 0 ? t(i.soldierSkillKind.dartle) : (o._count = 4, t())
                })
            },
            __decorate([l({
                tooltip: "\u6bcf\u6b21\u53d1\u5c04\u4e2a\u6570"
            })], e.prototype, "launchTimes", void 0),
            __decorate([c], e)
        } (r.
    default);
        o.
    default = d,
        cc._RF.pop()
    },
    {
        "../data/enemyInfoEnum": "enemyInfoEnum",
        "../utils/Emitter": "Emitter",
        "../utils/myConfigManager": "myConfigManager",
        "./CommonSkill": "CommonSkill"
    }],
    delayAdRoot: [function(t, e, o) {
        "use strict";
        cc._RF.push(e, "564e2FFHdRD9qa+0tAAXuSB", "delayAdRoot"),
        Object.defineProperty(o, "__esModule", {
            value: !0
        });
        var n = cc._decorator,
        i = n.ccclass,
        a = (n.property,
        function(t) {
            function e() {
                var e = null !== t && t.apply(this, arguments) || this;
                return e._delayAd = 0,
                e._showDelay = 0,
                e._maxAd = 0,
                e
            }
            return __extends(e, t),
            e.prototype.onLoad = function() {
                cc.game.addPersistRootNode(this.node),
                this.schedule(function() {
                    1 == cc.thinkLandSwitchNew.getIsLimit() && (this._delayAd++, this._delayAd >= cc.thinkLandSwitchNew.getDelayTime() && (this._showDelay--, this._showDelay <= 0 && (this._showDelay = cc.thinkLandSwitchNew.getShowDelay(), this._maxAd++, this._maxAd <= cc.thinkLandSwitchNew.getMaxNum() && (cc.adCtl.showNative(), console.log("showInst")))))
                },
                1)
            },
            e.prototype.start = function() {},
            e.prototype.update = function() {},
            __decorate([i], e)
        } (cc.Component));
        o.
    default = a,
        cc._RF.pop()
    },
    {}],
    dodgeSkill: [function(t, e, o) {
        "use strict";
        cc._RF.push(e, "c893d2Un6BAarG88Z3kQt5/", "dodgeSkill"),
        Object.defineProperty(o, "__esModule", {
            value: !0
        });
        var n = t("./CommonSkill"),
        i = t("../utils/GameManager"),
        a = t("../utils/myConfigManager"),
        r = t("../utils/Emitter"),
        s = cc._decorator,
        c = s.ccclass,
        l = (s.property,
        function(t) {
            function e() {
                var e = null !== t && t.apply(this, arguments) || this;
                return e._count = 3,
                e
            }
            return __extends(e, t),
            e.prototype.onLoad = function() {
                this.initSkill(this)
            },
            e.prototype.doSkill = function(t, e) {
                var o = this;
                return new Promise(function(t) {
                    var n = a.
                default.getInstance().getNameBySkillPrefabKind(o.mySkillprafabSkill);
                    if ("" != n) for (var s = o.node.getPosition().clone(), c = 0; c < 3; c++) r.
                default.getInstance().emit("launch_Skill", {
                        name: n,
                        startPos: cc.v2(s.x, s.y + 50),
                        toPos: cc.v2(s.x + -100 + 100 * c, s.y),
                        maxDis: o.maxTrigger,
                        hit: o.hurtNum,
                        kind: 1
                    });
                    o.node.getComponent(cc.BoxCollider).enabled = !1;
                    var l = o.node.x,
                    d = l - e.x,
                    u = d > 0 ? 400 : -400;
                    d < 200 && 100 * Math.random() < 50 && (u *= -1),
                    (l += u) < -1e3 && (l = -950),
                    l > 1e3 && (l = 950),
                    o.node.x = l;
                    var h = o.node,
                    p = function(t) {
                        var e = cc.instantiate(o.node.getChildByName("spine"));
                        e.x = t * u * .2 * -1,
                        e.y = 0,
                        e.scale = .5,
                        e.opacity = 100,
                        h.addChild(e),
                        cc.tween(e).to(.2 / i.
                    default.getInstance()._myEnemyTimeScale, {
                            x: 0
                        },
                        {
                            easing: "cubicIn"
                        }).call(function() {
                            e.removeFromParent(),
                            e.destroy()
                        }).start()
                    };
                    for (c = 0; c < 3; c++) p(c);
                    cc.tween(o.node).delay(.2 / i.
                default.getInstance()._myEnemyTimeScale).call(function() {
                        o.node.getComponent(cc.BoxCollider).enabled = !0
                    }).start(),
                    t()
                })
            },
            __decorate([c], e)
        } (n.
    default));
        o.
    default = l,
        cc._RF.pop()
    },
    {
        "../utils/Emitter": "Emitter",
        "../utils/GameManager": "GameManager",
        "../utils/myConfigManager": "myConfigManager",
        "./CommonSkill": "CommonSkill"
    }],
    enemyInfoEnum: [function(t, e, o) {
        "use strict";
        cc._RF.push(e, "781b7gxFTpBQr3xMaXpWDf2", "enemyInfoEnum"),
        Object.defineProperty(o, "__esModule", {
            value: !0
        }),
        o.EffectMgr = o.effectManagerKind = o.skillPrefabKind = o.myPlayerState = o.soldierSkillKind = o.enemyStyle = o.enemyAttackKind = o.enemyMoveKind = void 0,
        function(t) {
            t[t.walk = 0] = "walk",
            t[t.fly = 1] = "fly"
        } (o.enemyMoveKind || (o.enemyMoveKind = {})),
        function(t) {
            t[t.close = 0] = "close",
            t[t.long = 1] = "long"
        } (o.enemyAttackKind || (o.enemyAttackKind = {})),
        function(t) {
            t[t.
        default = 0] = "default",
            t[t.boss = 1] = "boss"
        } (o.enemyStyle || (o.enemyStyle = {})),
        function(t) {
            t[t.none = 0] = "none",
            t[t.sprint = 1] = "sprint",
            t[t.jump = 2] = "jump",
            t[t.flash = 3] = "flash",
            t[t.archers = 4] = "archers",
            t[t.dartle = 5] = "dartle",
            t[t.selfRangeHit = 6] = "selfRangeHit",
            t[t.dodge = 7] = "dodge",
            t[t.projectile = 8] = "projectile",
            t[t.dash = 9] = "dash",
            t[t.directSkill = 10] = "directSkill",
            t[t.normalAttack = 11] = "normalAttack",
            t[t.coverHit = 12] = "coverHit",
            t[t.aimingSkill = 13] = "aimingSkill",
            t[t.temptSkill = 14] = "temptSkill",
            t[t.dropSkill = 15] = "dropSkill",
            t[t.meteoSkill = 16] = "meteoSkill",
            t[t.summonSkill = 17] = "summonSkill"
        } (o.soldierSkillKind || (o.soldierSkillKind = {})),
        function(t) {
            t[t.none = 0] = "none",
            t[t.moving = 1] = "moving",
            t[t.attack = 2] = "attack",
            t[t.skill = 3] = "skill",
            t[t.deading = 4] = "deading",
            t[t.dead = 5] = "dead",
            t[t.stun = 6] = "stun",
            t[t.pos = 7] = "pos"
        } (o.myPlayerState || (o.myPlayerState = {})),
        function(t) {
            t[t.none = 0] = "none",
            t[t.Damage_Archer1 = 1] = "Damage_Archer1",
            t[t.Damage_Archer2 = 2] = "Damage_Archer2",
            t[t.Damage_Hammer = 3] = "Damage_Hammer",
            t[t.crackEffect1 = 4] = "crackEffect1",
            t[t.Skill_Crash2 = 5] = "Skill_Crash2",
            t[t.Damage_DarkBall = 6] = "Damage_DarkBall",
            t[t.Skill_GravityBall = 7] = "Skill_GravityBall",
            t[t.Damage_Rock = 8] = "Damage_Rock",
            t[t.Skill_Mine = 9] = "Skill_Mine",
            t[t.Skill_Tempt = 10] = "Skill_Tempt",
            t[t.Damage_Archer3 = 11] = "Damage_Archer3",
            t[t.Skill_ArrowRain = 12] = "Skill_ArrowRain",
            t[t.Damage_star1 = 13] = "Damage_star1",
            t[t.Damage_Archer4 = 14] = "Damage_Archer4",
            t[t.PoisonEffect = 15] = "PoisonEffect",
            t[t.Skill_FireBall = 16] = "Skill_FireBall",
            t[t.Skill_Shandian = 17] = "Skill_Shandian",
            t[t.Damage_bomber = 18] = "Damage_bomber",
            t[t.Skill_CallStone = 19] = "Skill_CallStone",
            t[t.Damage_Ghost = 20] = "Damage_Ghost",
            t[t.Skill_Dhand = 21] = "Skill_Dhand",
            t[t.Damage_FlyFu = 22] = "Damage_FlyFu",
            t[t.Skill_PoisonRain = 23] = "Skill_PoisonRain",
            t[t.crackEffect2 = 24] = "crackEffect2",
            t[t.Skill_Trap = 25] = "Skill_Trap"
        } (o.skillPrefabKind || (o.skillPrefabKind = {})),
        function(t) {
            t[t.none = 0] = "none",
            t[t.bing = 1] = "bing",
            t[t.du = 2] = "du",
            t[t.huo = 3] = "huo",
            t[t.shandian = 4] = "shandian",
            t[t.crit = 5] = "crit",
            t[t.frozen = 6] = "frozen",
            t[t.boom2 = 7] = "boom2",
            t[t.tempt = 8] = "tempt",
            t[t.slow = 9] = "slow",
            t[t.huo2 = 10] = "huo2"
        } (o.effectManagerKind || (o.effectManagerKind = {})),
        o.EffectMgr = {
            crackEffect1: "crackEffect1"
        },
        cc._RF.pop()
    },
    {}],
    feedbackCtl: [function(t, e) {
        "use strict";
        cc._RF.push(e, "7fcfeaRxf1EKpdL/M+gHcun", "feedbackCtl"),
        cc.Class({
            extends: cc.Component,
            properties: {},
            onLoad: function() {
                this.scheduleOnce(function() {
                    var t = cc.sys.localStorage.getItem("feedback_ctl");
                    this.node.active = !!t && 1 == t
                },
                .5)
            },
            start: function() {}
        }),
        cc._RF.pop()
    },
    {}],
    goldFrameNode: [function(t, e, o) {
        "use strict";
        cc._RF.push(e, "1f748GYr1FNeI+4/0Ftpwbt", "goldFrameNode"),
        Object.defineProperty(o, "__esModule", {
            value: !0
        });
        var n = t("../../utils/Emitter"),
        i = cc._decorator,
        a = i.ccclass,
        r = i.property,
        s = function(t) {
            function e() {
                var e = null !== t && t.apply(this, arguments) || this;
                return e.goldLabel = null,
                e.effect1 = null,
                e.effect2 = null,
                e._curNum = 0,
                e
            }
            return __extends(e, t),
            e.prototype.onLoad = function() {
                n.
            default.getInstance().on("goldFrameEffect", this.goldFrameEffect, this)
            },
            e.prototype.onDestroy = function() {
                n.
            default.getInstance().off("goldFrameEffect", this)
            },
            e.prototype.goldFrameEffect = function(t) {
                var e = cc.instantiate(this.effect1);
                e.active = !0,
                this.node.addChild(e),
                cc.tween(e).delay(.2).call(function() {
                    e.removeFromParent(),
                    e.destroy()
                }).start();
                var o = cc.instantiate(this.effect2);
                o.active = !0,
                this.node.addChild(o),
                cc.tween(o).by(.3, {
                    x: 100
                }).call(function() {
                    o.removeFromParent(),
                    o.destroy()
                }).start(),
                this.upLabelNum(t.num)
            },
            e.prototype.upLabelNum = function(t) {
                this._curNum += t,
                this.goldLabel.string = this._curNum + ""
            },
            __decorate([r(cc.Label)], e.prototype, "goldLabel", void 0),
            __decorate([r(cc.Node)], e.prototype, "effect1", void 0),
            __decorate([r(cc.Node)], e.prototype, "effect2", void 0),
            __decorate([a], e)
        } (cc.Component);
        o.
    default = s,
        cc._RF.pop()
    },
    {
        "../../utils/Emitter": "Emitter"
    }],
    hitBlinkEffect: [function(t, e, o) {
        "use strict";
        cc._RF.push(e, "51bf51F1n9Mk7qmhrHKelrZ", "hitBlinkEffect"),
        Object.defineProperty(o, "__esModule", {
            value: !0
        });
        var n = t("../../control/ResManager"),
        i = cc._decorator,
        a = i.ccclass,
        r = (i.property,
        function(t) {
            function e() {
                var e = null !== t && t.apply(this, arguments) || this;
                return e._toColor = [],
                e._isHiting = !1,
                e
            }
            var o;
            return __extends(e, t),
            o = e,
            e.prototype.onLoad = function() {},
            e.prototype.doHit = function(t) {
                if (!this._isHiting) {
                    0 == t ? this._toColor = [.8, .8, .8, 1] : 1 == t && (this._toColor = [.8, 0, 0, 1]);
                    var e = this.node.getComponent(cc.RenderComponent);
                    if (n.
                default._instance.HitShaderMtl && e) {
                        this._isHiting = !0;
                        var i = e.getMaterial(0);
                        e.setMaterial(0, n.
                    default._instance.HitShaderMtl),
                        e.getMaterial(0).setProperty("addColor", this._toColor),
                        this.scheduleOnce(function() {
                            e.setMaterial(0, i),
                            this._isHiting = !1
                        },
                        .2)
                    } else this.node.removeComponent(o)
                }
            },
            o = __decorate([a], e)
        } (cc.Component));
        o.
    default = r,
        cc._RF.pop()
    },
    {
        "../../control/ResManager": "ResManager"
    }],
    iconTrack: [function(t, e, o) {
        "use strict";
        cc._RF.push(e, "1f963mKEYxPM5NnykMGeGNK", "iconTrack"),
        Object.defineProperty(o, "__esModule", {
            value: !0
        });
        var n = t("../../utils/AudioMgr"),
        i = t("../../utils/Emitter"),
        a = cc._decorator,
        r = a.ccclass,
        s = (a.property,
        function(t) {
            function e() {
                var e = null !== t && t.apply(this, arguments) || this;
                return e._hitTarget = null,
                e._goldNum = 0,
                e._speed = 20,
                e._isStart = !1,
                e
            }
            return __extends(e, t),
            e.prototype.setTrackObj = function(t) {
                this._hitTarget = t,
                this._isStart = !0
            },
            e.prototype.setGoldNum = function(t) {
                this._goldNum = t
            },
            e.prototype.trackTarget = function() {
                if (null != this._hitTarget && this._isStart) {
                    var t = this._hitTarget.getPosition();
                    t.y += 50;
                    var e = this.node.getPosition(),
                    o = t.sub(e),
                    a = e.sub(t).mag(),
                    r = e.x + this._speed * o.x / a,
                    s = e.y + this._speed * o.y / a,
                    c = cc.v2(r, s);
                    if (e.x, e.y, a <= 10) return this._isStart = !1,
                    this._goldNum > 0 && i.
                default.getInstance().emit("goldFrameEffect", {
                        num: this._goldNum
                    }),
                    n.
                default.getInstance().playSFX("dropEffect2"),
                    this.node.removeFromParent(),
                    void this.node.destroy();
                    this.node.setPosition(c)
                }
            },
            e.prototype.update = function(t) {
                this.trackTarget(t)
            },
            __decorate([r], e)
        } (cc.Component));
        o.
    default = s,
        cc._RF.pop()
    },
    {
        "../../utils/AudioMgr": "AudioMgr",
        "../../utils/Emitter": "Emitter"
    }],
    infoBarNode: [function(t, e, o) {
        "use strict";
        cc._RF.push(e, "863f7K3ZGpFGoOFXcEzx/Lv", "infoBarNode"),
        Object.defineProperty(o, "__esModule", {
            value: !0
        }),
        o.infoBarKind = void 0;
        var n, i = t("../../utils/GameManager"),
        a = cc._decorator,
        r = a.ccclass,
        s = a.property; (function(t) {
            t[t.exp = 0] = "exp",
            t[t.pow = 1] = "pow",
            t[t.stone = 2] = "stone",
            t[t.gold = 3] = "gold"
        })(n = o.infoBarKind || (o.infoBarKind = {}));
        var c = function(t) {
            function e() {
                var e = null !== t && t.apply(this, arguments) || this;
                return e.nInfoBarKind = n.exp,
                e.showLabel = null,
                e.downTimelabel = null,
                e.myProgressBar = null,
                e._downTime = 300,
                e
            }
            return __extends(e, t),
            e.prototype.onLoad = function() {
                if (this.nInfoBarKind == n.pow) {
                    var t = Math.floor(.001 * (new Date).getTime()),
                    e = cc.sys.localStorage.getItem("selfPower_downtime");
                    if (e) {
                        t -= parseInt(e);
                        var o = Math.floor(t / 300);
                        this._downTime = 300 - t % 300;
                        var a = i.
                    default.getInstance().getData("selfPower");
                        a < 20 && ((a += o) >= 20 && (a = 20), i.
                    default.getInstance().setData("selfPower", a)),
                        a >= 20 && cc.sys.localStorage.removeItem("selfPower_downtime")
                    }
                }
                this.refreshUI(),
                this.powDownTime(),
                this.schedule(function() {
                    this.refreshUI(),
                    this.powDownTime()
                },
                1)
            },
            e.prototype.refreshUI = function() {
                var t = "";
                switch (this.nInfoBarKind) {
                case n.exp:
                    var e = i.
                default.getInstance().getData("selfLv");
                    t = e + "";
                    var o = i.
                default.getInstance().getData("selfExp"),
                    a = 100 + 100 * e;
                    this.myProgressBar.progress = o / a;
                    break;
                case n.gold:
                    t = i.
                default.getInstance().getData("selfGold") + "";
                    break;
                case n.stone:
                    t = i.
                default.getInstance().getData("selfStone") + "";
                    break;
                case n.pow:
                    var r = i.
                default.getInstance().getData("selfPower");
                    t = r + "/20",
                    this.downTimelabel.node.active = r < 20;
                    var s = r / 20;
                    s > 1 && (s = 1),
                    this.myProgressBar.progress = s,
                    r >= 20 && (this._downTime = 300);
                    var c = Math.floor(.001 * (new Date).getTime());
                    r < 20 && !cc.sys.localStorage.getItem("selfPower_downtime") && cc.sys.localStorage.setItem("selfPower_downtime", c)
                }
                this.showLabel.string = t
            },
            e.prototype.powDownTime = function() {
                if (this.downTimelabel && this.downTimelabel.node.active) {
                    this._downTime--;
                    var t = Math.floor(this._downTime / 60),
                    e = Math.floor(this._downTime % 60),
                    o = t >= 10 ? t + "": "0" + t,
                    n = e >= 10 ? e + "": "0" + e;
                    if (this.downTimelabel.string = o + ":" + n, this._downTime <= 0) {
                        var a = i.
                    default.getInstance().getData("selfPower");
                        if (a += 1, i.
                    default.getInstance().setData("selfPower", a), a >= 20) this.downTimelabel.node.active = !1,
                        this.unschedule(this.powDownTime),
                        cc.sys.localStorage.removeItem("selfPower_downtime");
                        else {
                            var r = Math.floor(.001 * (new Date).getTime());
                            cc.sys.localStorage.setItem("selfPower_downtime", r)
                        }
                        this._downTime = 300
                    }
                }
            },
            e.prototype.buyPowerBtnCall = function() {
                i.
            default.getInstance().getMyPrefab("viewPrefabs/BuyPowerNode").then(function(t) {
                    var e = cc.instantiate(t);
                    cc.find("Canvas").addChild(e)
                })
            },
            __decorate([s({
                type: cc.Enum(n)
            })], e.prototype, "nInfoBarKind", void 0),
            __decorate([s(cc.Label)], e.prototype, "showLabel", void 0),
            __decorate([s({
                type: cc.Label,
                visible: function() {
                    return this.nInfoBarKind == n.pow
                }
            })], e.prototype, "downTimelabel", void 0),
            __decorate([s({
                type: cc.ProgressBar,
                visible: function() {
                    return this.nInfoBarKind == n.pow || this.nInfoBarKind == n.exp
                }
            })], e.prototype, "myProgressBar", void 0),
            __decorate([r], e)
        } (cc.Component);
        o.
    default = c,
        cc._RF.pop()
    },
    {
        "../../utils/GameManager": "GameManager"
    }],
    levelSkillConfig: [function(t, e, o) {
        "use strict";
        cc._RF.push(e, "6db273iYnpPw46jzQTwLkuE", "levelSkillConfig"),
        Object.defineProperty(o, "__esModule", {
            value: !0
        }),
        o.levelSeletSkillList = void 0;
        var n = t("./weaponConfig");
        o.levelSeletSkillList = [{
            id: 1,
            name: "\u6563\u5c04",
            kind: n.EquipPropertyEnum.skill4,
        default:
            1,
            max: 1,
            weight: 10
        },
        {
            id: 2,
            name: "\u7a7f\u900f",
            kind: n.EquipPropertyEnum.skill5,
        default:
            1,
            max: 1,
            weight: 10
        },
        {
            id: 3,
            name: "\u5206\u8eab",
            kind: n.EquipPropertyEnum.skill15,
        default:
            1,
            max: 1,
            weight: 0
        },
        {
            id: 4,
            name: "\u5200\u9635",
            kind: n.EquipPropertyEnum.skill6,
        default:
            1,
            max: 1,
            weight: 10
        },
        {
            id: 5,
            name: "\u653b\u901f(\u5c0f)",
            kind: n.EquipPropertyEnum.attackSpeed,
        default:
            10,
            max: 12,
            weight: 10
        },
        {
            id: 6,
            name: "\u653b\u51fb(\u5c0f)",
            kind: n.EquipPropertyEnum.hurtPer,
        default:
            10,
            max: 12,
            weight: 10
        },
        {
            id: 7,
            name: "\u751f\u547d(\u5c0f)",
            kind: n.EquipPropertyEnum.hpPer,
        default:
            10,
            max: 12,
            weight: 10
        },
        {
            id: 8,
            name: "\u5438\u8840",
            kind: n.EquipPropertyEnum.suckBloodPer,
        default:
            2,
            max: 1,
            weight: 10
        },
        {
            id: 9,
            name: "\u8bf1\u5bfc",
            kind: n.EquipPropertyEnum.skill8,
        default:
            1,
            max: 1,
            weight: 10
        },
        {
            id: 10,
            name: "\u53cc\u500d\u98de\u5200",
            kind: n.EquipPropertyEnum.skill7,
        default:
            1,
            max: 1,
            weight: 10
        },
        {
            id: 11,
            name: "\u70b9\u71c3",
            kind: n.EquipPropertyEnum.burnDamage,
        default:
            1,
            max: 1,
            weight: 10
        },
        {
            id: 12,
            name: "\u6bd2\u7bad",
            kind: n.EquipPropertyEnum.poisonDamage,
        default:
            1,
            max: 1,
            weight: 10
        },
        {
            id: 13,
            name: "\u51bb\u7ed3",
            kind: n.EquipPropertyEnum.frozenDamage,
        default:
            1,
            max: 1,
            weight: 10
        },
        {
            id: 14,
            name: "\u6062\u590d",
            kind: n.EquipPropertyEnum.onceRestoreBlood,
        default:
            40,
            max: -1,
            weight: 10
        },
        {
            id: 15,
            name: "\u95ea\u907f\u653b\u51fb",
            kind: n.EquipPropertyEnum.skill9,
        default:
            1,
            max: 1,
            weight: 10
        },
        {
            id: 16,
            name: "\u7206\u70b8",
            kind: n.EquipPropertyEnum.skill10,
        default:
            1,
            max: 1,
            weight: 10
        },
        {
            id: 17,
            name: "\u53cc\u5411",
            kind: n.EquipPropertyEnum.skill11,
        default:
            1,
            max: 1,
            weight: 10
        },
        {
            id: 18,
            name: "\u65e0\u654c",
            kind: n.EquipPropertyEnum.skill12,
        default:
            1,
            max: 1,
            weight: 10
        },
        {
            id: 19,
            name: "\u66b4\u51fb(\u5c0f)",
            kind: n.EquipPropertyEnum.critRate,
        default:
            5,
            max: 5,
            weight: 10
        },
        {
            id: 20,
            name: "\u79d2\u6740",
            kind: n.EquipPropertyEnum.skill13,
        default:
            1,
            max: 1,
            weight: 10
        },
        {
            id: 21,
            name: "\u51cf\u901f",
            kind: n.EquipPropertyEnum.skill14,
        default:
            3,
            max: 1,
            weight: 10
        },
        {
            id: 22,
            name: "\u653b\u901f(\u5927)",
            kind: n.EquipPropertyEnum.attackSpeed,
        default:
            15,
            max: 3,
            weight: 10
        },
        {
            id: 23,
            name: "\u653b\u51fb(\u5927)",
            kind: n.EquipPropertyEnum.hurtPer,
        default:
            15,
            max: 3,
            weight: 10
        },
        {
            id: 24,
            name: "\u751f\u547d(\u5927)",
            kind: n.EquipPropertyEnum.hpPer,
        default:
            15,
            max: 3,
            weight: 10
        },
        {
            id: 25,
            name: "\u66b4\u51fb(\u5927)",
            kind: n.EquipPropertyEnum.critRate,
        default:
            10,
            max: 3,
            weight: 10
        }],
        cc._RF.pop()
    },
    {
        "./weaponConfig": "weaponConfig"
    }],
    levelSkillSelect: [function(t, e, o) {
        "use strict";
        cc._RF.push(e, "14a522QgzVCXK5IOLRHT5ou", "levelSkillSelect"),
        Object.defineProperty(o, "__esModule", {
            value: !0
        });
        var n = t("../../utils/myConfigManager"),
        i = t("../../control/ResManager"),
        a = t("../../utils/Emitter"),
        r = t("../../utils/AudioMgr"),
        s = t("../../data/levelSkillConfig"),
        c = t("../../utils/GameManager"),
        l = t("../TutorialEnum"),
        d = cc._decorator,
        u = d.ccclass,
        h = d.property,
        p = function(t) {
            function e() {
                var e = null !== t && t.apply(this, arguments) || this;
                return e.skillItem = null,
                e.rootNode = null,
                e.btnNode = null,
                e.spineNode = null,
                e.particleNode = [],
                e._isFix = !1,
                e._list = [],
                e._nodeList = [],
                e._selfCb = null,
                e._selfObj = null,
                e._isCanClick = !1,
                e
            }
            return __extends(e, t),
            e.prototype.setIsFix = function() {
                this._isFix = !0
            },
            e.prototype.setFunc = function(t, e) {
                this._selfCb = t,
                this._selfObj = e
            },
            e.prototype.start = function() {},
            e.prototype.onEnable = function() {
                this._list = n.
            default.getInstance().getLevelSkillList(this._isFix),
                this.initView2(),
                c.
            default.getInstance().getTutorialData(0) ? a.
            default.getInstance().emit("touch_tutorial", {
                    step: 0
                }) : this._isFix && c.
            default.getInstance().getTutorialData(l.TutorialEnum.step_get_sl - 1) && a.
            default.getInstance().emit("touch_tutorial", {
                    step: l.TutorialEnum.step_get_sl - 1
                }),
                cc.adCtl.showBanner()
            },
            e.prototype.onDisable = function() {
                cc.adCtl.hideBanner()
            },
            e.prototype.initView2 = function() {
                var t = this;
                this._isCanClick = !1,
                this.particleNode.forEach(function(t) {
                    t.resetSystem()
                }),
                this.spineNode.active = this._isFix;
                var e = n.
            default.getInstance()._levelSkillSelectList;
                this._isFix || r.
            default.getInstance().playSFX("select_skill");
                for (var o, a = function(n) {
                    var a = c._list[n],
                    r = c.rootNode.getChildByName("item" + (n + 1));
                    r.active = !0;
                    var l = cc.find("mask/root", r);
                    if (l.stopAllActions(), c._isFix) l.y = 164 * -l.childrenCount + 82,
                    c._isCanClick = !0,
                    l.children[0].getComponent(cc.Sprite).spriteFrame = i.
                default._instance.LevelSkill.getSpriteFrame("levelSkill" + a.id);
                    else {
                        l.y = -82,
                        l.children.forEach(function(t, e) {
                            var o = a.id + e;
                            o = (o - 1) % s.levelSeletSkillList.length + 1,
                            t.getComponent(cc.Sprite).spriteFrame = i.
                        default._instance.LevelSkill.getSpriteFrame("levelSkill" + o)
                        });
                        var d = 2 + .2 * n;
                        cc.tween(l).to(d, {
                            y: 164 * -l.childrenCount + 82
                        },
                        {
                            easing: "cubicOut"
                        }).call(function() {
                            t._isCanClick = !0
                        }).start();
                        var u = {
                            a: 11 + a.id
                        };
                        cc.tween(u).to(d, {
                            a: a.id - 1
                        },
                        {
                            progress: function(t, e, o, n) {
                                var i = Math.floor(o);
                                return i %= s.levelSeletSkillList.length,
                                p.getComponent(cc.Label).string = s.levelSeletSkillList[i].name,
                                t + (e - t) * (--n * n * n + 1)
                            }
                        }).start()
                    }
                    var h = 0;
                    e.hasOwnProperty(a.id) && (h = e[a.id]),
                    r.getChildByName("lv").getComponent(cc.Label).string = "LV." + (h + 1);
                    var p = r.getChildByName("name");
                    p.getComponent(cc.Label).string = a.name,
                    r.getComponent(cc.Button) || ((o = new cc.Component.EventHandler).target = c.node, o.component = "levelSkillSelect", o.handler = "selectItemBtn", o.customEventData = n + "", r.addComponent(cc.Button).clickEvents.push(o), c._nodeList.push(r))
                },
                c = this, l = 0; l < this._list.length; l++) a(l);
                this._list.length <= 0 && this.closeNode()
            },
            e.prototype.initView = function() {
                this.particleNode.forEach(function(t) {
                    t.resetSystem()
                }),
                this.spineNode.active = this._isFix;
                for (var t = n.
            default.getInstance()._levelSkillSelectList, e = 0; e < this._list.length; e++) {
                    var o = this._list[e],
                    a = cc.instantiate(this.skillItem);
                    a.getComponent(cc.Sprite).spriteFrame = i.
                default._instance.LevelSkill.getSpriteFrame("levelSkill" + o.id),
                    a.active = !0;
                    var r = 0;
                    t.hasOwnProperty(o.id) && (r = t[o.id]),
                    a.getChildByName("lv").getComponent(cc.Label).string = "LV." + (r + 1),
                    a.getChildByName("name").getComponent(cc.Label).string = o.name;
                    var s = new cc.Component.EventHandler;
                    s.target = this.node,
                    s.component = "levelSkillSelect",
                    s.handler = "selectItemBtn",
                    s.customEventData = e + "",
                    a.addComponent(cc.Button).clickEvents.push(s),
                    this.rootNode.addChild(a),
                    this._nodeList.push(a)
                }
                this._list.length <= 0 && this.closeNode()
            },
            e.prototype.refreshSkill = function() {
                if (this._isCanClick) {
                    var t = this;
                    cc.adCtl.showVideo(function(e) {
                        if (1 == e) {
                            for (var o = 0; o < t._list.length; o++) {
                                var i = t._list[o];
                                n.
                            default.getInstance().getLevelSkillById(i.id)
                            }
                            r.
                        default.getInstance().playSFX("selectSkill"),
                            t.closeNode()
                        }
                    }),
                    cc.adCtl.umengEvent("war_changeskill")
                }
            },
            e.prototype.selectItemBtn = function(t, e) {
                if (this._isCanClick) {
                    var o = this._list[parseInt(e)];
                    n.
                default.getInstance().getLevelSkillById(o.id),
                    r.
                default.getInstance().playSFX("selectSkill"),
                    this.closeNode()
                }
            },
            e.prototype.closeNode = function() {
                this.particleNode.forEach(function(t) {
                    t.stopSystem()
                }),
                this._nodeList.forEach(function(t) {
                    t.active = !1
                }),
                this._selfCb && this._selfCb.call(this._selfObj),
                this.node.active = !1,
                this._isFix = !1
            },
            __decorate([h(cc.Node)], e.prototype, "skillItem", void 0),
            __decorate([h(cc.Node)], e.prototype, "rootNode", void 0),
            __decorate([h(cc.Node)], e.prototype, "btnNode", void 0),
            __decorate([h(cc.Node)], e.prototype, "spineNode", void 0),
            __decorate([h([cc.ParticleSystem])], e.prototype, "particleNode", void 0),
            __decorate([u], e)
        } (cc.Component);
        o.
    default = p,
        cc._RF.pop()
    },
    {
        "../../control/ResManager": "ResManager",
        "../../data/levelSkillConfig": "levelSkillConfig",
        "../../utils/AudioMgr": "AudioMgr",
        "../../utils/Emitter": "Emitter",
        "../../utils/GameManager": "GameManager",
        "../../utils/myConfigManager": "myConfigManager",
        "../TutorialEnum": "TutorialEnum"
    }],
    m4399Ctl: [function(t, e) {
        "use strict";
        cc._RF.push(e, "baca6duKGNBy4Q0S9nyjBvn", "m4399Ctl"),
        cc.Class({
            extends: cc.Component,
            properties: {
                limitAd: !0
            },
            onLoad: function() {
                var e = t("MyChannelEnum");
                if (cc.adCtl._curChannel == e.qd_mini_4399) {
                    if (!this.limitAd) return void(this.node.active = !1);
                    var o = cc.adCtl.testM4399T();
                    this.node.active = o
                }
                cc.adCtl._noneAd && (this.node.active = !1)
            },
            start: function() {}
        }),
        cc._RF.pop()
    },
    {
        MyChannelEnum: "MyChannelEnum"
    }],
    myAdManager: [function(t, e) {
        "use strict";
        cc._RF.push(e, "adf89HqpWdOIJwVI545w4nv", "myAdManager");
        var o = t("KeyCtl");
        cc.Class({
            name: "myAdManager",
            properties: {},
            ctor: function() {
                this._isCanAd = !1,
                this._rewardedVideoAd = null,
                this._bannerAd = null,
                this._interstitialAd = null,
                this._nativeAd = null,
                this._nativeData = null,
                this.vivoAdAppID = "",
                this.vivoAd_inst = "",
                this.vivoAd_video = "",
                this.vivoAd_banner = "",
                this.vivoAd_Native = "",
                this.oppoAdAppID = "",
                this.oppoAd_inst = "",
                this.oppoAd_native = "",
                this.oppoAd_native2 = "",
                this.oppoAd_video = "",
                this.oppoAd_banner = "",
                this.lastInstTime = 0,
                this.lastNativeTime = 0,
                this.videoCall = null,
                this._isFirstInit = !0,
                this._isShowNativeAD = !1
            },
            initAd: function() {
                console.log("cc.sys.platform" + cc.sys.platform),
                this.firstShow = !0;
                try {
                    this.videoDelay = 0,
                    this.initAdData()
                } catch(t) {
                    console.log("\u4e0d\u652f\u6301\u5e7f\u544a" + t)
                }
            },
            initAdData: function() {
                if (cc.sys.platform == cc.sys.VIVO_GAME) {
                    var t = o.vivo["game" + cc.adCtl._curGame];
                    this.vivoAdAppID = t.appId,
                    this.vivoAd_inst = t.inst,
                    this.vivoAd_video = t.video,
                    this.vivoAd_banner = t.banner,
                    this.vivoAd_Native = t.native,
                    "" != this.vivoAdAppID && this.initVivoAd()
                } else if (cc.sys.platform == cc.sys.OPPO_GAME) {
                    var e = o.oppo["game" + cc.adCtl._curGame];
                    this.oppoAdAppID = e.appId,
                    this.oppoAd_inst = e.inst,
                    this.oppoAd_native = e.native,
                    this.oppoAd_native2 = e.native2,
                    this.oppoAd_video = e.video,
                    this.oppoAd_banner = e.banner,
                    "" != this.oppoAdAppID && this.initOppoAd()
                }
            },
            showRewardVideo: function(t) {
                this.videoCall = t;
                var e = Math.floor((new Date).getTime() / 1e3);
                if (e - this.videoDelay < 60) return this.showToast("\u6ca1\u6709\u89c6\u9891\u5e7f\u544a"),
                void(this.videoCall && this.videoCall(0));
                if (this.videoDelay = e, cc.sys.platform != cc.sys.DESKTOP_BROWSER) {
                    if (null == this._rewardedVideoAd) return this.showToast("\u6ca1\u6709\u89c6\u9891\u5e7f\u544a"),
                    void(this.videoCall && this.videoCall(0));
                    cc.sys.platform == cc.sys.VIVO_GAME ? this.loadRewardVideo() : this._rewardedVideoAd.load()
                } else this.videoCall && this.videoCall(0)
            },
            loadRewardVideo: function() {
                var t = this;
                null != this._rewardedVideoAd && cc.sys.platform == cc.sys.VIVO_GAME && this._rewardedVideoAd.load().
                catch(function(e) {
                    t.videoCall && t.videoCall(0),
                    t.showToast("\u6ca1\u6709\u89c6\u9891\u5e7f\u544a"),
                    console.log("\u6fc0\u52b1\u89c6\u9891\u5e7f\u544a\u52a0\u8f7d\u5931\u8d25", JSON.stringify(e))
                })
            },
            showBanner: function() {
                var t = this;
                cc.sys.platform == cc.sys.VIVO_GAME ? "" != t.vivoAd_banner && window.qg && (null != this._bannerAd && (this._bannerAd.destroy(), this._bannerAd = null), this._bannerAd = qg.createBannerAd({
                    posId: t.vivoAd_banner,
                    style: {}
                }), this._bannerAd.onError(function(t) {
                    console.log("bannerAd", t)
                }), this._bannerAd.onLoad(function() {
                    t._bannerAd.show()
                })) : cc.sys.platform == cc.sys.OPPO_GAME && "" != t.oppoAd_banner && window.qg && (null != this._bannerAd && (this._bannerAd.destroy(), this._bannerAd = null), this._bannerAd = qg.createBannerAd({
                    posId: t.oppoAd_banner
                }), this._bannerAd.onError(function(t) {
                    console.log(t)
                }), this._bannerAd.onLoad(function() {
                    t._bannerAd.show()
                }))
            },
            hideBanner: function() {
                null != this._bannerAd && (this._bannerAd.destroy(), this._bannerAd = null)
            },
            showInterstitialAd: function() {
                if (cc.sys.platform == cc.sys.VIVO_GAME) {
                    var t = qg.createInterstitialAd({
                        posId: this.vivoAd_inst
                    }).show();
                    t && t.then(function() {
                        console.log("\u63d2\u5c4f\u5e7f\u544a\u5c55\u793a\u6210\u529f")
                    }).
                    catch(function(t) {
                        switch (t.code) {
                        case 30003:
                            console.log("\u65b0\u7528\u62371\u5929\u5185\u4e0d\u80fd\u66dd\u5149Banner\uff0c\u8bf7\u5c06\u624b\u673a\u65f6\u95f4\u8c03\u6574\u4e3a1\u5929\u540e\uff0c\u9000\u51fa\u6e38\u620f\u91cd\u65b0\u8fdb\u5165");
                            break;
                        case 30009:
                            console.log("10\u79d2\u5185\u8c03\u7528\u5e7f\u544a\u6b21\u6570\u8d85\u8fc71\u6b21\uff0c10\u79d2\u540e\u518d\u8c03\u7528");
                            break;
                        case 30002:
                            console.log("load\u5e7f\u544a\u5931\u8d25\uff0c\u91cd\u65b0\u52a0\u8f7d\u5e7f\u544a");
                            break;
                        default:
                            console.log("\u63d2\u5c4f\u5e7f\u544a\u5c55\u793a\u5931\u8d25"),
                            console.log(JSON.stringify(t))
                        }
                    })
                } else cc.sys.platform == cc.sys.OPPO_GAME && this.showOppoInstAd();
                console.log("showInterstitialAd")
            },
            showOppoInstAd: function() {
                cc.sys.platform == cc.sys.OPPO_GAME && Math.floor((new Date).getTime() / 1e3) > this.lastInstTime && this._interstitialAd.load()
            },
            doShowNativeAd: function() {
                if (null != this._nativeAd) if (null != this._nativeData && this._nativeData.length > 0) {
                    var t = this._nativeData[0],
                    e = t.adId;
                    this.showNativeAd(e),
                    this.showNativeNode(t)
                } else this.showOppoInstAd()
            },
            loadNativeAd: function(t) {
                if (!this._isShowNativeAD) {
                    var e = Math.floor((new Date).getTime() / 1e3);
                    if (! (e < this.lastNativeTime) && (this.lastNativeTime = e + 10, window.qg)) {
                        var o = this;
                        if (qg.createNativeAd) {
                            this._nativeAd = qg.createNativeAd({
                                posId: o.vivoAd_Native
                            }),
                            this._nativeAd.onLoad(function(e) {
                                console.log("\u539f\u751f\u5e7f\u544a\u52a0\u8f7d\u5b8c\u6210", JSON.stringify(e)),
                                e && e.adList && (o._nativeData = [], o._nativeData.push(e.adList.pop()), t && o.doShowNativeAd())
                            });
                            var n = this._nativeAd.load();
                            n && n.then(function() {
                                console.log("\u539f\u751f\u5e7f\u544a\u52a0\u8f7d\u5b8c\u6210", JSON.stringify(res))
                            }).
                            catch(function(t) {
                                console.log("\u52a0\u8f7d\u5931\u8d25", JSON.stringify(t))
                            })
                        }
                    }
                }
            },
            getNativeAdData: function() {
                return null != this._nativeData && this._nativeData.length > 0 ? this._nativeData[0] : null == this._nativeAd ? null: (this._nativeAd.load(), null)
            },
            showNativeAd: function(t) {
                null != this._nativeAd && this._nativeAd.reportAdShow({
                    adId: t + ""
                })
            },
            clickNativeAd: function(t) {
                null != this._nativeAd && (this._nativeData.shift(), console.log("_nativeAd clickNativeAd"), this._nativeAd.reportAdClick({
                    adId: t + ""
                }), this._nativeData.length <= 0 && this._nativeAd.load())
            },
            initVivoAd: function() {
                var t = this,
                e = this;
                qg.getSystemInfoSync().platformVersionCode >= 1031 && ("" != e.vivoAd_video && qg.getSystemInfoSync().platformVersionCode >= 1041 && (this._rewardedVideoAd = qg.createRewardedVideoAd({
                    posId: e.vivoAd_video
                }), this._rewardedVideoAd.onLoad(function() {
                    e.firstShow || e._rewardedVideoAd.show().then(function() {
                        cc.AudioMgr.CtlAndioForAd(!1),
                        console.log("\u6fc0\u52b1\u89c6\u9891\u5e7f\u544a\u663e\u793a\u6210\u529f")
                    }).
                    catch(function(t) {
                        console.log("\u6fc0\u52b1\u89c6\u9891\u5e7f\u544a\u663e\u793a\u5931\u8d25", JSON.stringify(t))
                    }),
                    e.firstShow = !1,
                    console.log("\u6fc0\u52b1\u89c6\u9891\u5df2\u52a0\u8f7d")
                }), this._rewardedVideoAd.onError(function(o) {
                    console.log("\u6fc0\u52b1\u89c6\u9891\u5f02\u5e38", JSON.stringify(o)),
                    t.showToast("\u6ca1\u6709\u89c6\u9891\u5e7f\u544a"),
                    e.videoCall(0)
                }), this._rewardedVideoAd.onClose(function(t) {
                    t && t.isEnded ? (e.videoCall(1), console.log("\u6b63\u5e38\u64ad\u653e\u7ed3\u675f\uff0c\u53ef\u4ee5\u4e0b\u53d1\u6e38\u620f\u5956\u52b1")) : (e.videoCall(0), console.log("\u64ad\u653e\u4e2d\u9014\u9000\u51fa\uff0c\u4e0d\u4e0b\u53d1\u6e38\u620f\u5956\u52b1")),
                    cc.AudioMgr.CtlAndioForAd(!0)
                })), this.loadNativeAd(!1))
            },
            initOppoAd: function() {
                var t = this;
                qg.initAdService({
                    appId: t.oppoAdAppID,
                    success: function() {
                        console.log("oppoad success")
                    },
                    fail: function(t) {
                        console.log("oppoad fail:" + t.code + t.msg)
                    },
                    complete: function() {
                        console.log("oppoad complete"),
                        t.createOppoAd()
                    }
                })
            },
            createOppoAd: function() {
                var t = this;
                qg.reportMonitor && qg.reportMonitor("game_scene", 0),
                "" != t.oppoAd_video && (this._rewardedVideoAd = qg.createRewardedVideoAd({
                    posId: t.oppoAd_video
                }), this._rewardedVideoAd.onLoad(function() {
                    cc.AudioMgr.CtlAndioForAd(!1),
                    t._rewardedVideoAd.show(),
                    console.log("\u6fc0\u52b1\u89c6\u9891\u5df2\u52a0\u8f7d")
                }), this._rewardedVideoAd.onError(function(e) {
                    t.showToast("\u6ca1\u6709\u89c6\u9891\u5e7f\u544a");
                    var o = JSON.stringify(e);
                    console.log("\u6fc0\u52b1\u89c6\u9891\u5f02\u5e38", o),
                    t.videoCall(0)
                }), this._rewardedVideoAd.onClose(function(e) {
                    e && e.isEnded ? (t.videoCall(1), console.log("\u6b63\u5e38\u64ad\u653e\u7ed3\u675f\uff0c\u53ef\u4ee5\u4e0b\u53d1\u6e38\u620f\u5956\u52b1")) : (t.videoCall(0), console.log("\u64ad\u653e\u4e2d\u9014\u9000\u51fa\uff0c\u4e0d\u4e0b\u53d1\u6e38\u620f\u5956\u52b1")),
                    cc.AudioMgr.CtlAndioForAd(!0)
                })),
                "" != t.oppoAd_inst && (this._interstitialAd = qg.createInsertAd({
                    posId: t.oppoAd_inst
                }), this._interstitialAd.onLoad(function() {
                    console.log("\u63d2\u5c4f\u5e7f\u544a\u52a0\u8f7d", res.adList),
                    t._interstitialAd.show(),
                    t.lastInstTime = Math.floor((new Date).getTime() / 1e3) + 60
                }))
            },
            loadOppoNative: function(t, e) {
                if (cc.sys.platform == cc.sys.OPPO_GAME) {
                    var o = t;
                    if (null == t && (o = this.oppoAd_native), 1 == t ? o = this.oppoAd_native: 2 == t && (o = this.oppoAd_native2), "" != o) {
                        var n = this;
                        this._nativeAd = qg.createNativeAd({
                            posId: o
                        }),
                        this._nativeAd.onError(function(t) {
                            var o = JSON.stringify(t);
                            console.log("nativeAd.onError" + o),
                            null != e && e(0)
                        }),
                        this._nativeAd.onLoad(function(t) {
                            console.log("\u539f\u751f\u5e7f\u544a\u52a0\u8f7d", t.adList),
                            console.log(JSON.stringify(t.adList)),
                            n._nativeData = t.adList,
                            null != e && e(1)
                        }),
                        this._nativeAd.load()
                    }
                }
            },
            openOtherMiniGame: function(t) {
                qg.navigateToMiniGame({
                    pkgName: t,
                    path: "?page=pageB",
                    extraData: {
                        from: "pageA"
                    },
                    success: function() {},
                    fail: function(t) {
                        console.log(JSON.stringify(t))
                    }
                })
            },
            showToast: function(t) {
                cc.sys.platform == cc.sys.OPPO_GAME ? qg.showToast({
                    title: t,
                    icon: "success",
                    duration: 2e3
                }) : cc.sys.platform == cc.sys.VIVO_GAME && qg.showToast({
                    message: t
                })
            },
            showNativeNode: function(t) {
                console.log("showNativeNode");
                var e = this;
                this._isShowNativeAD = !0,
                cc.loader.loadRes("nativenode/sl_NativeAdNode",
                function(o, n) {
                    var i = cc.instantiate(n);
                    i.getComponent("NativeAdMgr").setCallfun(function() {
                        e._isShowNativeAD = !1
                    }),
                    i.getComponent("NativeAdMgr").showWithData(t),
                    cc.director.getScene().addChild(i)
                })
            },
            doShock: function(t) {
                window.qg && (1 == t ? qg.vibrateShort() : qg.vibrateLong())
            },
            showAppBox: function() {
                if (qg.getSystemInfoSync().platformVersionCode >= 1076) {
                    var t = this;
                    t.GamePortalAd && t.GamePortalAd.destroy().then(function() {
                        console.log("destroy success")
                    }).
                    catch(function(t) {
                        console.log("destroy fail with:" + t.errCode + "," + t.errMsg)
                    }),
                    t.GamePortalAd = qg.createGamePortalAd({
                        adUnitId: t.myBoxAd
                    }),
                    t.GamePortalAd.onLoad(function() {
                        console.log("\u4e92\u63a8\u76d2\u5b50\u6a2a\u5e45\u5e7f\u544a\u52a0\u8f7d\u6210\u529f"),
                        t.GamePortalAd.show().then(function() {
                            console.log("show success")
                        }).
                        catch(function(t) {
                            console.log("show fail with:" + t.errCode + "," + t.errMsg)
                        })
                    })
                } else console.log("\u5feb\u5e94\u7528\u5e73\u53f0\u7248\u672c\u53f7\u4f4e\u4e8e1076\uff0c\u6682\u4e0d\u652f\u6301\u4e92\u63a8\u76d2\u5b50\u76f8\u5173 API")
            }
        }),
        cc._RF.pop()
    },
    {
        KeyCtl: "KeyCtl"
    }],
    myAdaptive: [function(t, e, o) {
        "use strict";
        cc._RF.push(e, "bb8a7H5L+9MWZlLB4kzQxXi", "myAdaptive"),
        Object.defineProperty(o, "__esModule", {
            value: !0
        });
        var n = cc._decorator,
        i = n.ccclass,
        a = (n.property,
        function(t) {
            function e() {
                return null !== t && t.apply(this, arguments) || this
            }
            return __extends(e, t),
            e.prototype.onLoad = function() {
                var t = cc.winSize.width / cc.Canvas.instance.designResolution.width;
                t < 1 && (this.node.scale *= t)
            },
            e.prototype.start = function() {},
            __decorate([i], e)
        } (cc.Component));
        o.
    default = a,
        cc._RF.pop()
    },
    {}],
    myConfigManager: [function(t, e, o) {
        "use strict";
        cc._RF.push(e, "85eceG5BStFE7b5kGVTepJ8", "myConfigManager"),
        Object.defineProperty(o, "__esModule", {
            value: !0
        });
        var n = t("../data/enemyInfoEnum"),
        i = t("../data/shopConfig"),
        a = t("../data/weaponConfig"),
        r = t("./GameManager"),
        s = t("../data/levelSkillConfig"),
        c = cc._decorator,
        l = c.ccclass,
        d = (c.property,
        function(t) {
            function e() {
                var e = null !== t && t.apply(this, arguments) || this;
                return e._screenMinX = -1e3,
                e._screenMaxX = 1e3,
                e._equipMaxLv = 20,
                e._maxPackCap = 200,
                e._propertyInfo = {},
                e._levelSkillList = [],
                e._levelSkillSelectList = {},
                e._enemyInfoData = null,
                e._levelInfoData = null,
                e._curlevelIndex = 0,
                e._curLevelPass = 0,
                e._curGetExp = 0,
                e
            }
            var o;
            return __extends(e, t),
            o = e,
            e.getInstance = function() {
                return null == o._instance && (o._instance = new o),
                o._instance
            },
            e.prototype.getNameBySkillPrefabKind = function(t) {
                return n.skillPrefabKind[t] || ""
            },
            e.prototype.getNameByAwardKind = function(t, e) {
                void 0 === e && (e = 0);
                var o = "";
                switch (t) {
                case i.myAwardEnum.gold:
                    o = "icon_powder";
                    break;
                case i.myAwardEnum.stone:
                    o = "icon_coin";
                    break;
                case i.myAwardEnum.power:
                    o = "icon_energy";
                    break;
                case i.myAwardEnum.goldKey:
                    o = "img_key_epic";
                    break;
                case i.myAwardEnum.silverKey:
                    o = "img_key_rare";
                    break;
                case i.myAwardEnum.weaponReel:
                    o = "Item_Scroll_Weapon";
                    break;
                case i.myAwardEnum.clothesReel:
                    o = "Item_Scroll_Armor";
                    break;
                case i.myAwardEnum.glovesReel:
                    o = "Item_Scroll_Gloves";
                    break;
                case i.myAwardEnum.shoeReel:
                    o = "Item_Scroll_Shoes";
                    break;
                case i.myAwardEnum.accessoriesReel:
                    o = "Item_Scroll_Ring";
                    break;
                case i.myAwardEnum.weapon:
                    o = "weapon_";
                    break;
                case i.myAwardEnum.clothes:
                    o = "clothes_";
                    break;
                case i.myAwardEnum.gloves:
                    o = "gloves_";
                    break;
                case i.myAwardEnum.shoe:
                    o = "shoe_";
                    break;
                case i.myAwardEnum.accessories:
                    o = "accessories_";
                    break;
                case i.myAwardEnum.rune:
                    o = a.RuneInfoConfig[e].name + "_"
                }
                return o
            },
            e.prototype.getTipsFromPro = function(t, e) {
                void 0 === e && (e = !0);
                var o = "";
                switch (t) {
                case a.EquipPropertyEnum.hurt:
                    e && (o = "\u653b\u51fb\u529b+"),
                    o += "%s";
                    break;
                case a.EquipPropertyEnum.hurtPer:
                    e && (o = "\u653b\u51fb\u529b+"),
                    o += "%s%";
                    break;
                case a.EquipPropertyEnum.hp:
                    e && (o = "\u8840\u91cf+"),
                    o += "%s";
                    break;
                case a.EquipPropertyEnum.hpPer:
                    e && (o = "\u8840\u91cf+"),
                    o += "%s%";
                    break;
                case a.EquipPropertyEnum.attackSpeed:
                    e && (o = "\u653b\u901f+"),
                    o += "%s%";
                    break;
                case a.EquipPropertyEnum.attackSpeedDefault:
                    e && (o = "\u653b\u901f+"),
                    o += "%s";
                    break;
                case a.EquipPropertyEnum.critDamage:
                    e && (o = "\u66b4\u51fb\u4f24\u5bb3+"),
                    o += "%s%";
                    break;
                case a.EquipPropertyEnum.critDamageFixed:
                    e && (o = "\u66b4\u51fb\u4f24\u5bb3+"),
                    o += "%s";
                    break;
                case a.EquipPropertyEnum.critRate:
                    e && (o = "\u66b4\u51fb\u7387+"),
                    o += "%s%";
                    break;
                case a.EquipPropertyEnum.movingSpeed:
                    e && (o = "\u79fb\u52a8\u901f\u5ea6+"),
                    o += "%s%";
                    break;
                case a.EquipPropertyEnum.hurtReduction:
                    e && (o = "\u4f24\u5bb3\u51cf\u514d-"),
                    o += "%s";
                    break;
                case a.EquipPropertyEnum.fireDamage:
                    o = "\u989d\u5916\u9020\u6210%s%\u653b\u51fb\u7684\u706b\u7130\u4f24\u5bb3";
                    break;
                case a.EquipPropertyEnum.lightningDamage:
                    o = "\u989d\u5916\u9020\u6210%s%\u653b\u51fb\u7684\u96f7\u7535\u4f24\u5bb3";
                    break;
                case a.EquipPropertyEnum.frostDamage:
                    o = "\u989d\u5916\u9020\u6210%s%\u653b\u51fb\u7684\u51b0\u971c\u4f24\u5bb3";
                    break;
                case a.EquipPropertyEnum.normalDamage:
                    o = "\u989d\u5916\u9020\u6210%s%\u653b\u51fb\u7684\u666e\u901a\u4f24\u5bb3";
                    break;
                case a.EquipPropertyEnum.addMobsDamage:
                    o = "\u5bf9\u5c0f\u602a\u4f24\u5bb3+%s";
                    break;
                case a.EquipPropertyEnum.addBossDamage:
                    o = "\u5bf9\u7cbe\u82f1\u602a\u4f24\u5bb3+%s";
                    break;
                case a.EquipPropertyEnum.addMeleeDamage:
                    o = "\u5bf9\u8fd1\u6218\u5355\u4f4d\u4f24\u5bb3+%s";
                    break;
                case a.EquipPropertyEnum.addRangedDamage:
                    o = "\u5bf9\u8fdc\u7a0b\u5355\u4f4d\u4f24\u5bb3+%s";
                    break;
                case a.EquipPropertyEnum.subMobsDamage:
                    o = "\u51cf\u5c11\u5c0f\u602a\u4f24\u5bb3-%s";
                    break;
                case a.EquipPropertyEnum.subBossDamage:
                    o = "\u51cf\u5c11\u7cbe\u82f1\u602a\u4f24\u5bb3-%s";
                    break;
                case a.EquipPropertyEnum.subMeleeDamage:
                    o = "\u51cf\u5c11\u8fd1\u6218\u5355\u4f4d\u4f24\u5bb3-%s";
                    break;
                case a.EquipPropertyEnum.subRangedDamage:
                    o = "\u51cf\u5c11\u8fdc\u7a0b\u5355\u4f4d\u4f24\u5bb3-%s";
                    break;
                case a.EquipPropertyEnum.block:
                    o = "\u683c\u6321\u51e0\u7387+%s%";
                    break;
                case a.EquipPropertyEnum.dodge:
                    o = "\u95ea\u907f\u51e0\u7387+%s%";
                    break;
                case a.EquipPropertyEnum.suckBlood:
                    o = "\u51fb\u6740\u654c\u4eba\u540e\u6062\u590d%s\u70b9\u751f\u547d";
                    break;
                case a.EquipPropertyEnum.suckBloodPer:
                    o = "\u51fb\u6740\u654c\u4eba\u540e\u6062\u590d%s%\u4f24\u5bb3\u7684\u751f\u547d";
                    break;
                case a.EquipPropertyEnum.restoreBlood:
                    o = "\u8840\u91cf\u6062\u590d+%s%";
                    break;
                case a.EquipPropertyEnum.coinDropRate:
                    o = "\u5b9d\u77f3\u7c89\u6389\u843d+%s%";
                    break;
                case a.EquipPropertyEnum.goodDropsRote:
                    o = "\u7269\u54c1\u6389\u7387+%s%";
                    break;
                case a.EquipPropertyEnum.expUp:
                    o = "\u7ecf\u9a8c\u589e\u52a0+%s%";
                    break;
                case a.EquipPropertyEnum.onceSuckBlood:
                    o = "\u8fc7\u5173\u6062\u590d%s\u751f\u547d";
                    break;
                case a.EquipPropertyEnum.onceShield:
                    o = "\u6bcf\u5173\u521d\u59cb\u62a4\u76fe+%s";
                    break;
                case a.EquipPropertyEnum.onceDoge:
                    o = "\u6bcf\u5173\u5f00\u59cb\u524d3\u79d2\u95ea\u907f+%s%";
                    break;
                case a.EquipPropertyEnum.attackedRestore:
                    o = "\u6bcf\u88ab\u653b\u51fb5\u6b21\u6062\u590d%s\u8840\u91cf";
                    break;
                case a.EquipPropertyEnum.timesRestore:
                    o = "\u6bcf\u653b\u51fb10\u6b21\u6062\u590d%s\u8840\u91cf";
                    break;
                case a.EquipPropertyEnum.extraDamageBy2:
                    o = "\u6bcf\u653b\u51fb2\u6b21\u9020\u6210\u989d\u5916\u9020\u6210%s\u70b9\u4f24\u5bb3";
                    break;
                case a.EquipPropertyEnum.cooldown:
                    o = "\u964d\u4f4e%s%\u6280\u80fd\u51b7\u5374\u65f6\u95f4";
                    break;
                case a.EquipPropertyEnum.freeOnceDeath:
                    o = "\u62b5\u5fa1\u4e00\u6b21\u6b7b\u4ea1\u5e76\u6062\u590d%s%\u4f53\u529b(\u6bcf\u6b21\u6218\u6597\u53ea\u80fd\u89e6\u53d1\u4e00\u6b21)";
                    break;
                case a.EquipPropertyEnum.buff1:
                    o = "\u6bcf\u969430\u79d2\u89e6\u53d1\u4e00\u6b21\u6301\u7eed15\u79d2\u7684buff\uff0c\u589e\u52a0%s%\u7684\u4f24\u5bb3";
                    break;
                case a.EquipPropertyEnum.buff2:
                    o = "\u6c99\u6f0f\u72b6\u6001\u4e0b\u653b\u51fb\u529b+%s%,\u653b\u901f+20%";
                    break;
                case a.EquipPropertyEnum.skill1:
                    o = "\u653b\u51fb\u65f6\u67091%\u51e0\u7387\u91ca\u653e\u4e00\u6b21\u5723\u5149\uff0c\u5bf9\u524d\u65b9\u6240\u6709\u654c\u4eba\u9020\u6210%s%\u7684\u4f24\u5bb3";
                    break;
                case a.EquipPropertyEnum.skill2:
                    o = "\u653b\u51fb\u65f6\u67091%\u51e0\u7387\u91ca\u653e\u4e00\u6b21\u9668\u77f3\uff0c\u5bf9\u524d\u65b9\u654c\u4eba\u9020\u6210%s%\u7684\u4f24\u5bb3";
                    break;
                case a.EquipPropertyEnum.skill3:
                    o = "\u653b\u51fb\u65f6\u67091%\u51e0\u7387\u91ca\u653e\u6c99\u6f0f";
                    break;
                case a.EquipPropertyEnum.skill4:
                    o = "\u6563\u5c04";
                    break;
                case a.EquipPropertyEnum.skill5:
                    o = "\u7a7f\u900f";
                    break;
                case a.EquipPropertyEnum.skill6:
                    o = "\u5200\u9635";
                    break;
                default:
                    o = "\u672a\u5b9a\u4e49-%s"
                }
                return o
            },
            e.prototype.getWeaponObject = function() {
                return {
                    kind: 0,
                    quality: 0,
                    index: 0,
                    suit: 0,
                    myPro: null,
                    name: "",
                    lv: 0,
                    tips: !0
                }
            },
            e.prototype.getWeaponByKind = function(t, e, o, n) {
                void 0 === n && (n = null);
                var r = t,
                s = o,
                c = e;
                if (!t) {
                    var l = [i.myAwardEnum.weapon, i.myAwardEnum.clothes, i.myAwardEnum.shoe, i.myAwardEnum.gloves, i.myAwardEnum.accessories];
                    r = l[Math.floor(Math.random() * l.length)]
                }
                o || (s = Math.floor(4 * Math.random()) + 1),
                e || (c = Math.floor(Math.random() * (a.EquipQualityEnum.gold + 1)));
                var d = n || this.getWeaponSuit(c),
                u = this.getWeaponObject();
                u.kind = r,
                u.quality = c,
                u.index = s,
                u.suit = d;
                var h = this.getWeaponRandPro(u.quality, u.kind, u.index);
                return u.name = this.getRandomName(u.quality, u.kind, u.index),
                u.myPro = h,
                u
            },
            e.prototype.getRandomName = function(t, e, o) {
                var n = "";
                switch (t) {
                case a.EquipQualityEnum.white:
                    n += "\u7834\u65e7\u7684";
                    break;
                case a.EquipQualityEnum.green:
                    n += "\u7cbe\u826f\u7684";
                    break;
                case a.EquipQualityEnum.blue:
                    n += "\u53f2\u8bd7";
                    break;
                case a.EquipQualityEnum.purple:
                    n += "\u4f20\u5947";
                    break;
                case a.EquipQualityEnum.gold:
                    n += "\u795e\u8bdd"
                }
                switch (e) {
                case i.myAwardEnum.weapon:
                    n += ["\u88c2\u9f7f\u65ad\u5251", "\u952f\u9f7f\u98de\u65a7", "\u9ed1\u6697\u5ba1\u5224", "\u593a\u547d"][o - 1];
                    break;
                case i.myAwardEnum.clothes:
                    n += ["\u9690\u8005\u515c\u5e3d", "\u5408\u91d1\u94e0\u7532", "\u5965\u672f\u62ab\u98ce", "\u94f6\u7ffc\u6597\u7bf7"][o - 1];
                    break;
                case i.myAwardEnum.shoe:
                    n += ["\u72e9\u730e\u9774", "\u590d\u5408\u9774", "\u58eb\u5175\u62a4\u817f", "\u91cd\u88c5\u817f\u7532"][o - 1];
                    break;
                case i.myAwardEnum.gloves:
                    n += ["\u730e\u4eba\u62a4\u624b", "\u9b54\u672f\u624b\u5957", "\u94c1\u62a4\u81c2", "\u9a91\u58eb\u4e4b\u624b"][o - 1];
                    break;
                case i.myAwardEnum.accessories:
                    n += ["\u5965\u91d1\u6307\u73af", "\u5965\u91d1\u8033\u73af", "\u7eff\u5b9d\u77f3\u6212\u6307", "\u9b54\u6cd5\u77f3"][o - 1]
                }
                return n
            },
            e.prototype.getRandomWeaponFull = function(t) {
                var e = this.getRandomWeapon(t),
                o = this.getWeaponRandPro(e.quality, e.kind, e.index);
                return e.name = this.getRandomName(e.quality, e.kind, e.index),
                e.myPro = o,
                e
            },
            e.prototype.getRandomWeapon = function(t) {
                var e = [i.myAwardEnum.weapon, i.myAwardEnum.clothes, i.myAwardEnum.shoe, i.myAwardEnum.gloves, i.myAwardEnum.accessories],
                o = i.weaponProbability[t],
                n = 0;
                o.forEach(function(t) {
                    n += t.rate
                });
                for (var a = Math.random() * n, r = 0, s = 0; s < o.length; s++) {
                    var c = o[s];
                    if (a < c.rate) {
                        r = c.item;
                        break
                    }
                    a -= c.rate
                }
                var l = this.getWeaponSuit(r),
                d = this.getWeaponObject();
                return d.kind = e[Math.floor(Math.random() * e.length)],
                d.quality = r,
                d.index = Math.floor(4 * Math.random()) + 1,
                d.suit = l,
                d
            },
            e.prototype.getWeaponSuit = function(t) {
                if (100 * Math.random() < [10, 15, 20, 40, 50][t]) {
                    var e = Math.floor(Math.random() * a.suitPropertyList.length);
                    return a.suitPropertyList[e].id
                }
                return null
            },
            e.prototype.getWeaponRandPro = function(t, e, o) {
                var n = [],
                r = [];
                switch (e) {
                case i.myAwardEnum.weapon:
                    n = a.weaponPropertyList.concat();
                    break;
                case i.myAwardEnum.clothes:
                    n = a.clothesPropertyList.concat();
                    break;
                case i.myAwardEnum.shoe:
                    n = a.shoePropertyList.concat();
                    break;
                case i.myAwardEnum.gloves:
                    n = a.glovesPropertyList.concat();
                    break;
                case i.myAwardEnum.accessories:
                    n = a.accessoriesPropertyList.concat()
                }
                function s(t, n) {
                    var a = Math.floor(Math.random() * t.length);
                    e == i.myAwardEnum.weapon && 0 == n && (a = o - 1);
                    var s = JSON.parse(JSON.stringify(t[a]));
                    s.value = 0,
                    0 != s.increase && (s.value = Math.floor(Math.random() * (s.increase - s.
                default))),
                    s.value += s.
                default,
                    r.push(s)
                }
                n.push(a.ssrPropertyList);
                for (var c = 0; c < t + 1; c++) {
                    var l = n[c];
                    if (Array.isArray(l[0])) for (var d = 0; d < l.length; d++) s(l[d], c);
                    else s(l, c)
                }
                return r
            },
            e.prototype.getFullProperty = function() {
                return this._propertyInfo
            },
            e.prototype.addFullProperty = function(t, e) {
                this._propertyInfo.hasOwnProperty(t) ? this._propertyInfo[t] += e: this._propertyInfo[t] = e
            },
            e.prototype.loadFullProperty = function() {
                var t = this;
                return new Promise(function(e) {
                    function o(e, o) {
                        t._propertyInfo.hasOwnProperty(e) && e != a.EquipPropertyEnum.attackSpeedDefault ? t._propertyInfo[e] += o: t._propertyInfo[e] = o
                    }
                    t._propertyInfo = {},
                    a.defaultPropertyList.forEach(function(e) {
                        t._propertyInfo[e.kind] = e.
                    default
                    });
                    for (var n = r.
                default.getInstance().getData("selfEquipSelect"), s = {},
                    c = 0; c < n.length; c++) if ( - 1 != (y = n[c])) {
                        if (y.myPro) for (var l = 0; l < y.myPro.length; l++) {
                            var d, u = y.myPro[l];
                            d = 0 == l ? Math.round(u.value * i.qualityEffect[y.quality] * Math.pow(1.05, y.lv)) : u.value,
                            o(u.kind, d)
                        }
                        var h = y.suit;
                        h && (s.hasOwnProperty(h) ? s[h] += 1 : s[h] = 1)
                    }
                    for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) {
                        var f = s[p],
                        m = null;
                        for (c = 0; c < a.suitPropertyList.length; c++) {
                            var g = a.suitPropertyList[c];
                            if (g.id == parseInt(p)) {
                                m = g;
                                break
                            }
                        }
                        for (c = 0; c < m.suitNum.length; c++)(y = m.suitNum[c]) <= f && m.effect[c].forEach(function(t) {
                            o(t.kind, t.
                        default)
                        })
                    }
                    r.
                default.getInstance().getData("selfRuneSelect").forEach(function(t) {
                        if ("object" == typeof t) {
                            var e = a.RuneInfoConfig[t.kind],
                            n = e.
                        default + e.add * (t.lv - 1);
                            n = parseFloat(n.toFixed(2)),
                            o(e.proKind, n)
                        }
                    });
                    var _ = r.
                default.getInstance().getData("selfTelantList");
                    for (c = 0; c < _.length; c++) {
                        var y;
                        if ((y = _[c]) > 0) {
                            var v = a.talentPropertyList[c],
                            w = v.
                        default * y;
                            o(v.kind, w)
                        }
                    }
                    t.initLevelSkillList(),
                    e()
                })
            },
            e.prototype.initLevelSkillList = function() {
                this._levelSkillSelectList = {},
                this._levelSkillList = JSON.parse(JSON.stringify(s.levelSeletSkillList))
            },
            e.prototype.getLevelSkillList = function(t) {
                var e = __spreadArrays(this._levelSkillList),
                o = [];
                if (t) {
                    for (var n = [5, 6], i = Math.floor(Math.random() * n.length), a = 0; a < e.length; a++) 14 != (d = e[a]).id && d.id != n[i] || o.push({
                        id: d.id,
                        index: 13,
                        name: d.name
                    });
                    return o
                }
                var s = 0;
                this._levelSkillList.forEach(function(t) {
                    s += t.weight
                });
                for (var c = 0; c < 3; c++) {
                    var l = Math.floor(Math.random() * s);
                    for (a = 0; a < e.length; a++) {
                        var d;
                        if ((d = e[a]).weight > 0 && (l -= d.weight) <= 0) {
                            o.push({
                                id: d.id,
                                index: a,
                                name: d.name
                            }),
                            s -= d.weight,
                            e.splice(a, 1);
                            break
                        }
                    }
                }
                return r.
            default.getInstance().getTutorialData(0, 2) && (o[0] = {
                    id: 1,
                    index: 0,
                    name: "\u6563\u5c04"
                }),
                o
            },
            e.prototype.getLevelSkillById = function(t) {
                for (var e = 0,
                o = 0; o < this._levelSkillList.length; o++) if (this._levelSkillList[o].id == t) {
                    e = o;
                    break
                }
                var n = JSON.parse(JSON.stringify(this._levelSkillList[e]));
                return - 1 != this._levelSkillList[e].max && (this._levelSkillList[e].max--, this._levelSkillList[e].max <= 0 && this._levelSkillList.splice(e, 1)),
                this._levelSkillSelectList.hasOwnProperty(n.id) ? this._levelSkillSelectList[n.id]++:this._levelSkillSelectList[n.id] = 1,
                this.addFullProperty(n.kind, n.
            default),
                n
            },
            e.prototype.initEnemyInfoData = function() {
                var t = this;
                t._enemyInfoData = {},
                cc.loader.loadRes("configData/enemyData",
                function(e, o) {
                    o.json.forEach(function(e) {
                        t._enemyInfoData[e.id] = e
                    })
                })
            },
            e.prototype.getEnemyInfoData = function() {
                return this._enemyInfoData
            },
            e.prototype.initLevelInfoData = function(t) {
                this._curlevelIndex = t,
                this._curLevelPass = 0,
                this._curGetExp = 0;
                var e = this;
                e.initEnemyInfoData(),
                e._levelInfoData = [],
                r.
            default.getInstance()._tempGameDrop = [],
                r.
            default.getInstance()._tempGameDrop.push({
                    awardId:
                    i.myAwardEnum.gold,
                    num: 0
                }),
                cc.loader.loadRes("configData/levelInfoData" + t,
                function(t, o) {
                    var n = o.json;
                    e._levelInfoData = n
                })
            },
            e.prototype.getLevelInfoData = function() {
                return this._levelInfoData
            },
            e._instance = null,
            o = __decorate([l], e)
        } (cc.Component));
        o.
    default = d,
        cc._RF.pop()
    },
    {
        "../data/enemyInfoEnum": "enemyInfoEnum",
        "../data/levelSkillConfig": "levelSkillConfig",
        "../data/shopConfig": "shopConfig",
        "../data/weaponConfig": "weaponConfig",
        "./GameManager": "GameManager"
    }],
    mySkillEnumManager: [function(t, e, o) {
        "use strict";
        cc._RF.push(e, "0c463hf4TlFZZnYf7JoYCUH", "mySkillEnumManager"),
        Object.defineProperty(o, "__esModule", {
            value: !0
        });
        var n = cc._decorator,
        i = n.ccclass,
        a = (n.property,
        function(t) {
            function e() {
                var e = null !== t && t.apply(this, arguments) || this;
                return e._tempEnumList = [],
                e
            }
            var o;
            return __extends(e, t),
            o = e,
            e.getInstance = function() {
                return null == o._instance && (o._instance = new o),
                o._instance
            },
            e.prototype.addEnum = function(t, e) {
                this._tempEnumList[t] = e
            },
            e.prototype.getNameBySkillKind = function(t) {
                return this._tempEnumList.hasOwnProperty(t) ? this._tempEnumList[t] : (console.log("skill js error kind = " + t), "")
            },
            e.prototype.logSkill = function() {},
            e._instance = null,
            o = __decorate([i], e)
        } (cc.Component));
        o.
    default = a,
        cc._RF.pop()
    },
    {}],
    onlyLoadSkill: [function(t, e, o) {
        "use strict";
        cc._RF.push(e, "5fafcEysTVNNrSmd5ATQ5wd", "onlyLoadSkill"),
        Object.defineProperty(o, "__esModule", {
            value: !0
        });
        var n = t("../data/enemyInfoEnum"),
        i = t("../utils/Emitter"),
        a = cc._decorator,
        r = a.ccclass,
        s = a.property,
        c = function(t) {
            function e() {
                var e = null !== t && t.apply(this, arguments) || this;
                return e.mySkillprafabSkill = n.skillPrefabKind.none,
                e
            }
            return __extends(e, t),
            e.prototype.onLoad = function() {
                i.
            default.getInstance().emit("loadSkillPool", {
                    mySkillprafabSkill: this.mySkillprafabSkill
                })
            },
            e.prototype.start = function() {},
            __decorate([s({
                type: cc.Enum(n.skillPrefabKind),
                tooltip: "\u6280\u80fd\u9884\u5236\u4f53\u7c7b\u578b"
            })], e.prototype, "mySkillprafabSkill", void 0),
            __decorate([r], e)
        } (cc.Component);
        o.
    default = c,
        cc._RF.pop()
    },
    {
        "../data/enemyInfoEnum": "enemyInfoEnum",
        "../utils/Emitter": "Emitter"
    }],
    openBoxEffect: [function(t, e, o) {
        "use strict";
        cc._RF.push(e, "666caij3AFPLK1xbSPVAHR5", "openBoxEffect"),
        Object.defineProperty(o, "__esModule", {
            value: !0
        });
        var n = t("../../control/ResManager"),
        i = t("../../data/shopConfig"),
        a = t("../../utils/AudioMgr"),
        r = t("../../utils/GameManager"),
        s = t("../../utils/myConfigManager"),
        c = cc._decorator,
        l = c.ccclass,
        d = c.property,
        u = function(t) {
            function e() {
                var e = null !== t && t.apply(this, arguments) || this;
                return e.effectRoot = null,
                e.showRoot = null,
                e.boxImages = [],
                e._showKind = i.myAwardEnum.none,
                e._awardInfo = null,
                e._boxKind = 0,
                e._isOnlyShow = !1,
                e
            }
            return __extends(e, t),
            e.prototype.start = function() {
                this.node.on(cc.Node.EventType.TOUCH_END,
                function() {
                    cc.audioEngine.stopAllEffects(),
                    this.doShowEquipInfo()
                },
                this),
                this.initView()
            },
            e.prototype.setBoxKind = function(t) {
                this._boxKind = t
            },
            e.prototype.setAwardKind = function(t, e) {
                this._showKind = t,
                this._awardInfo = e
            },
            e.prototype.setOnlyShow = function() {
                this._isOnlyShow = !0
            },
            e.prototype.initView = function() {
                var t = this,
                e = this.effectRoot.getChildByName("box_epic");
                if (this._isOnlyShow) e.active = !1,
                this.doShowProp();
                else {
                    e.getComponent(cc.Sprite).spriteFrame = this.boxImages[this._boxKind];
                    var o = e.scale,
                    n = this.effectRoot.getChildByName("openLock_ske"),
                    i = e.children[0];
                    i.scale = 0,
                    a.
                default.getInstance().doShock(1),
                    a.
                default.getInstance().playSFX("openBox1", !1),
                    cc.tween(i).delay(.2).to(.1, {
                        scale: 5
                    }).start(),
                    cc.tween(e).repeat(4, cc.sequence(cc.rotateTo(.05, 5), cc.rotateTo(.05, 0), cc.rotateTo(.05, -5), cc.rotateTo(.05, 0))).call(function() {
                        n.active = !0
                    }).to(.2, {
                        scaleX: 1.3 * o,
                        scaleY: .8 * o
                    }).to(.2, {
                        scaleX: .8 * o,
                        scaleY: 1.3 * o
                    }).call(function() {
                        e.active = !1,
                        t.doShowProp()
                    }).start()
                }
            },
            e.prototype.doShowProp = function() {
                var t = this;
                if (this._showKind != i.myAwardEnum.rune) {
                    this.showRoot.active = !0;
                    var e = this.showRoot.getChildByName("prop"),
                    o = s.
                default.getInstance().getNameByAwardKind(this._awardInfo.kind) + this._awardInfo.index;
                    e.getComponent(cc.Sprite).spriteFrame = n.
                default._instance.DropAward.getSpriteFrame(o);
                    var a = this.showRoot.getChildByName("effect"),
                    r = [new cc.Color(255, 255, 255), new cc.Color(4, 178, 248), new cc.Color(142, 4, 216), new cc.Color(250, 224, 4), new cc.Color(229, 28, 5)];
                    a.color = r[this._awardInfo.quality],
                    cc.tween(a).repeatForever(cc.rotateBy(5, 360)).start(),
                    cc.tween(e).to(.2, {
                        scale: 3
                    }).to(.5, {
                        scale: 1.35
                    },
                    {
                        easing: "cubicOut"
                    }).to(.1, {
                        scale: 1.5
                    }).delay(1).call(function() {
                        t.doShowEquipInfo()
                    }).start()
                } else this.doShowEquipInfo()
            },
            e.prototype.doShowEquipInfo = function() {
                var t = this;
                this._awardInfo && (this._showKind == i.myAwardEnum.weapon ? (a.
            default.getInstance().playSFX("getAward"), r.
            default.getInstance().getMyPrefab("viewPrefabs/equipInfoNode_s").then(function(e) {
                    var o = cc.instantiate(e);
                    o.getComponent("EquipInfoNode").setEquipData(t._awardInfo, 1, null, null),
                    o.getComponent("EquipInfoNode").setPreview(),
                    cc.find("Canvas").addChild(o)
                })) : this._showKind == i.myAwardEnum.rune && r.
            default.getInstance().showAwardTips(this._awardInfo, "\u83b7\u5f97\u7269\u54c1"), this.node.removeFromParent())
            },
            __decorate([d(cc.Node)], e.prototype, "effectRoot", void 0),
            __decorate([d(cc.Node)], e.prototype, "showRoot", void 0),
            __decorate([d([cc.SpriteFrame])], e.prototype, "boxImages", void 0),
            __decorate([l], e)
        } (cc.Component);
        o.
    default = u,
        cc._RF.pop()
    },
    {
        "../../control/ResManager": "ResManager",
        "../../data/shopConfig": "shopConfig",
        "../../utils/AudioMgr": "AudioMgr",
        "../../utils/GameManager": "GameManager",
        "../../utils/myConfigManager": "myConfigManager"
    }],
    passAwardConfig: [function(t, e, o) {
        "use strict";
        cc._RF.push(e, "a7ed273atlCtb8f3Vllu9TV", "passAwardConfig"),
        Object.defineProperty(o, "__esModule", {
            value: !0
        }),
        o.passAwardInfo = void 0;
        var n = t("./shopConfig");
        o.passAwardInfo = {
            1 : {
                normal: {
                    10 : [{
                        awardId: n.myAwardEnum.stone,
                        num: 10
                    },
                    {
                        awardId: n.myAwardEnum.gold,
                        num: 1e3
                    }],
                    20 : [{
                        awardId: n.myAwardEnum.stone,
                        num: 10
                    },
                    {
                        awardId: n.myAwardEnum.power,
                        num: 5
                    },
                    {
                        awardId: n.myAwardEnum.weaponReel,
                        num: 5
                    }],
                    30 : [{
                        awardId: n.myAwardEnum.stone,
                        num: 10
                    },
                    {
                        awardId: n.myAwardEnum.gold,
                        num: 1e3
                    }],
                    40 : [{
                        awardId: n.myAwardEnum.stone,
                        num: 10
                    },
                    {
                        awardId: n.myAwardEnum.power,
                        num: 5
                    },
                    {
                        awardId: n.myAwardEnum.weaponReel,
                        num: 5
                    }],
                    50 : [{
                        awardId: n.myAwardEnum.stone,
                        num: 10
                    },
                    {
                        awardId: n.myAwardEnum.silverKey,
                        num: 1
                    }]
                },
                hard: {
                    10 : [{
                        awardId: n.myAwardEnum.stone,
                        num: 15
                    },
                    {
                        awardId: n.myAwardEnum.gold,
                        num: 2e3
                    }],
                    20 : [{
                        awardId: n.myAwardEnum.stone,
                        num: 15
                    },
                    {
                        awardId: n.myAwardEnum.gold,
                        num: 2e3
                    },
                    {
                        awardId: n.myAwardEnum.accessoriesReel,
                        num: 5
                    }],
                    30 : [{
                        awardId: n.myAwardEnum.stone,
                        num: 15
                    },
                    {
                        awardId: n.myAwardEnum.gold,
                        num: 2e3
                    },
                    {
                        awardId: n.myAwardEnum.weaponReel,
                        num: 5
                    }],
                    40 : [{
                        awardId: n.myAwardEnum.stone,
                        num: 15
                    },
                    {
                        awardId: n.myAwardEnum.gold,
                        num: 2e3
                    },
                    {
                        awardId: n.myAwardEnum.clothesReel,
                        num: 5
                    }],
                    50 : [{
                        awardId: n.myAwardEnum.stone,
                        num: 20
                    },
                    {
                        awardId: n.myAwardEnum.silverKey,
                        num: 1
                    }]
                }
            },
            2 : {
                normal: {
                    10 : [{
                        awardId: n.myAwardEnum.stone,
                        num: 15
                    },
                    {
                        awardId: n.myAwardEnum.gold,
                        num: 2e3
                    }],
                    20 : [{
                        awardId: n.myAwardEnum.stone,
                        num: 15
                    },
                    {
                        awardId: n.myAwardEnum.power,
                        num: 5
                    },
                    {
                        awardId: n.myAwardEnum.clothesReel,
                        num: 5
                    }],
                    30 : [{
                        awardId: n.myAwardEnum.stone,
                        num: 15
                    },
                    {
                        awardId: n.myAwardEnum.gold,
                        num: 2e3
                    }],
                    40 : [{
                        awardId: n.myAwardEnum.stone,
                        num: 15
                    },
                    {
                        awardId: n.myAwardEnum.power,
                        num: 5
                    },
                    {
                        awardId: n.myAwardEnum.clothesReel,
                        num: 5
                    }],
                    50 : [{
                        awardId: n.myAwardEnum.stone,
                        num: 20
                    },
                    {
                        awardId: n.myAwardEnum.silverKey,
                        num: 1
                    }]
                },
                hard: {
                    10 : [{
                        awardId: n.myAwardEnum.stone,
                        num: 20
                    },
                    {
                        awardId: n.myAwardEnum.gold,
                        num: 2500
                    }],
                    20 : [{
                        awardId: n.myAwardEnum.stone,
                        num: 20
                    },
                    {
                        awardId: n.myAwardEnum.gold,
                        num: 2500
                    }],
                    30 : [{
                        awardId: n.myAwardEnum.stone,
                        num: 20
                    },
                    {
                        awardId: n.myAwardEnum.gold,
                        num: 2500
                    },
                    {
                        awardId: n.myAwardEnum.accessoriesReel,
                        num: 5
                    }],
                    40 : [{
                        awardId: n.myAwardEnum.stone,
                        num: 20
                    },
                    {
                        awardId: n.myAwardEnum.gold,
                        num: 2500
                    },
                    {
                        awardId: n.myAwardEnum.glovesReel,
                        num: 5
                    }],
                    50 : [{
                        awardId: n.myAwardEnum.stone,
                        num: 25
                    },
                    {
                        awardId: n.myAwardEnum.goldKey,
                        num: 1
                    },
                    {
                        awardId: n.myAwardEnum.shoeReel,
                        num: 5
                    }]
                }
            },
            3 : {
                normal: {
                    10 : [{
                        awardId: n.myAwardEnum.stone,
                        num: 20
                    },
                    {
                        awardId: n.myAwardEnum.gold,
                        num: 2500
                    }],
                    20 : [{
                        awardId: n.myAwardEnum.stone,
                        num: 20
                    },
                    {
                        awardId: n.myAwardEnum.power,
                        num: 5
                    },
                    {
                        awardId: n.myAwardEnum.glovesReel,
                        num: 5
                    }],
                    30 : [{
                        awardId: n.myAwardEnum.stone,
                        num: 20
                    },
                    {
                        awardId: n.myAwardEnum.gold,
                        num: 2500
                    }],
                    40 : [{
                        awardId: n.myAwardEnum.stone,
                        num: 20
                    },
                    {
                        awardId: n.myAwardEnum.gold,
                        num: 3e3
                    },
                    {
                        awardId: n.myAwardEnum.glovesReel,
                        num: 5
                    }],
                    50 : [{
                        awardId: n.myAwardEnum.stone,
                        num: 25
                    },
                    {
                        awardId: n.myAwardEnum.goldKey,
                        num: 1
                    }]
                },
                hard: {
                    10 : [{
                        awardId: n.myAwardEnum.stone,
                        num: 25
                    },
                    {
                        awardId: n.myAwardEnum.gold,
                        num: 3e3
                    }],
                    20 : [{
                        awardId: n.myAwardEnum.stone,
                        num: 25
                    },
                    {
                        awardId: n.myAwardEnum.gold,
                        num: 3e3
                    }],
                    30 : [{
                        awardId: n.myAwardEnum.stone,
                        num: 25
                    },
                    {
                        awardId: n.myAwardEnum.gold,
                        num: 3e3
                    },
                    {
                        awardId: n.myAwardEnum.accessoriesReel,
                        num: 5
                    }],
                    40 : [{
                        awardId: n.myAwardEnum.stone,
                        num: 25
                    },
                    {
                        awardId: n.myAwardEnum.gold,
                        num: 3e3
                    },
                    {
                        awardId: n.myAwardEnum.weaponReel,
                        num: 5
                    }],
                    50 : [{
                        awardId: n.myAwardEnum.stone,
                        num: 30
                    },
                    {
                        awardId: n.myAwardEnum.goldKey,
                        num: 1
                    },
                    {
                        awardId: n.myAwardEnum.clothesReel,
                        num: 5
                    }]
                }
            },
            4 : {
                normal: {
                    10 : [{
                        awardId: n.myAwardEnum.stone,
                        num: 25
                    },
                    {
                        awardId: n.myAwardEnum.silverKey,
                        num: 1
                    }],
                    20 : [{
                        awardId: n.myAwardEnum.stone,
                        num: 25
                    },
                    {
                        awardId: n.myAwardEnum.gold,
                        num: 3500
                    },
                    {
                        awardId: n.myAwardEnum.shoeReel,
                        num: 5
                    }],
                    30 : [{
                        awardId: n.myAwardEnum.stone,
                        num: 25
                    },
                    {
                        awardId: n.myAwardEnum.silverKey,
                        num: 1
                    }],
                    40 : [{
                        awardId: n.myAwardEnum.stone,
                        num: 25
                    },
                    {
                        awardId: n.myAwardEnum.gold,
                        num: 3500
                    },
                    {
                        awardId: n.myAwardEnum.shoeReel,
                        num: 5
                    }],
                    50 : [{
                        awardId: n.myAwardEnum.stone,
                        num: 30
                    },
                    {
                        awardId: n.myAwardEnum.goldKey,
                        num: 1
                    }]
                },
                hard: {
                    10 : [{
                        awardId: n.myAwardEnum.stone,
                        num: 30
                    },
                    {
                        awardId: n.myAwardEnum.silverKey,
                        num: 1
                    }],
                    20 : [{
                        awardId: n.myAwardEnum.stone,
                        num: 30
                    },
                    {
                        awardId: n.myAwardEnum.gold,
                        num: 4e3
                    }],
                    30 : [{
                        awardId: n.myAwardEnum.stone,
                        num: 30
                    },
                    {
                        awardId: n.myAwardEnum.silverKey,
                        num: 1
                    },
                    {
                        awardId: n.myAwardEnum.accessoriesReel,
                        num: 5
                    }],
                    40 : [{
                        awardId: n.myAwardEnum.stone,
                        num: 30
                    },
                    {
                        awardId: n.myAwardEnum.silverKey,
                        num: 1
                    },
                    {
                        awardId: n.myAwardEnum.glovesReel,
                        num: 5
                    }],
                    50 : [{
                        awardId: n.myAwardEnum.stone,
                        num: 30
                    },
                    {
                        awardId: n.myAwardEnum.goldKey,
                        num: 1
                    },
                    {
                        awardId: n.myAwardEnum.shoeReel,
                        num: 5
                    }]
                }
            },
            5 : {
                normal: {
                    10 : [{
                        awardId: n.myAwardEnum.stone,
                        num: 30
                    },
                    {
                        awardId: n.myAwardEnum.silverKey,
                        num: 1
                    }],
                    20 : [{
                        awardId: n.myAwardEnum.stone,
                        num: 30
                    },
                    {
                        awardId: n.myAwardEnum.gold,
                        num: 4e3
                    },
                    {
                        awardId: n.myAwardEnum.weaponReel,
                        num: 5
                    }],
                    30 : [{
                        awardId: n.myAwardEnum.stone,
                        num: 30
                    },
                    {
                        awardId: n.myAwardEnum.silverKey,
                        num: 1
                    }],
                    40 : [{
                        awardId: n.myAwardEnum.stone,
                        num: 30
                    },
                    {
                        awardId: n.myAwardEnum.gold,
                        num: 4e3
                    },
                    {
                        awardId: n.myAwardEnum.weaponReel,
                        num: 5
                    }],
                    50 : [{
                        awardId: n.myAwardEnum.stone,
                        num: 35
                    },
                    {
                        awardId: n.myAwardEnum.goldKey,
                        num: 1
                    }]
                },
                hard: {
                    10 : [{
                        awardId: n.myAwardEnum.stone,
                        num: 35
                    },
                    {
                        awardId: n.myAwardEnum.gold,
                        num: 4e3
                    }],
                    20 : [{
                        awardId: n.myAwardEnum.stone,
                        num: 35
                    },
                    {
                        awardId: n.myAwardEnum.gold,
                        num: 4e3
                    }],
                    30 : [{
                        awardId: n.myAwardEnum.stone,
                        num: 35
                    },
                    {
                        awardId: n.myAwardEnum.gold,
                        num: 4e3
                    },
                    {
                        awardId: n.myAwardEnum.accessoriesReel,
                        num: 5
                    }],
                    40 : [{
                        awardId: n.myAwardEnum.stone,
                        num: 35
                    },
                    {
                        awardId: n.myAwardEnum.gold,
                        num: 4e3
                    },
                    {
                        awardId: n.myAwardEnum.weaponReel,
                        num: 5
                    }],
                    50 : [{
                        awardId: n.myAwardEnum.stone,
                        num: 35
                    },
                    {
                        awardId: n.myAwardEnum.goldKey,
                        num: 1
                    },
                    {
                        awardId: n.myAwardEnum.clothesReel,
                        num: 5
                    }]
                }
            }
        },
        cc._RF.pop()
    },
    {
        "./shopConfig": "shopConfig"
    }],
    passAwardNode: [function(t, e, o) {
        "use strict";
        cc._RF.push(e, "2f7e7AAoEdLIoBxgvujBtY8", "passAwardNode"),
        Object.defineProperty(o, "__esModule", {
            value: !0
        });
        var n = t("../../utils/AudioMgr"),
        i = t("../../data/passAwardConfig"),
        a = t("../../utils/myConfigManager"),
        r = t("../../control/ResManager"),
        s = t("../../utils/GameManager"),
        c = t("../../utils/Emitter"),
        l = cc._decorator,
        d = l.ccclass,
        u = l.property,
        h = function(t) {
            function e() {
                var e = null !== t && t.apply(this, arguments) || this;
                return e.awardProgressBar = null,
                e.itemNode = null,
                e.awardNode = null,
                e._itemParent = null,
                e._curStage = 0,
                e._passLv = 0,
                e._curDiff = 0,
                e._awardBin = {
                    10 : 2,
                    20 : 4,
                    30 : 8,
                    40 : 16,
                    50 : 32
                },
                e
            }
            return __extends(e, t),
            e.prototype.onLoad = function() {
                this._itemParent = this.itemNode.parent,
                this.itemNode.parent = null,
                this.awardProgressBar.progress = this._passLv / 50
            },
            e.prototype.start = function() {
                this.initView()
            },
            e.prototype.initView = function() {
                var t, e = s.
            default.getInstance().getData("selfDifficulty"),
                o = s.
            default.getInstance().getData("selfLevelAward")[e][this._curStage - 1];
                for (var n in t = 0 == e ? i.passAwardInfo[this._curStage + ""].normal: i.passAwardInfo[this._curStage + ""].hard) {
                    var c = cc.instantiate(this.itemNode);
                    this._itemParent.addChild(c);
                    var l = c.getChildByName("awardRoot"),
                    d = (c.getChildByName("title").getComponent(cc.Label).string = n + "\u6ce2\u6b21", c.getChildByName("getBtn").getComponent(cc.Button)),
                    u = new cc.Component.EventHandler;
                    u.target = this.node,
                    u.component = "passAwardNode",
                    u.handler = "getAwardBtnCall",
                    u.customEventData = n,
                    d.clickEvents.push(u),
                    d.interactable = parseInt(n) <= this._passLv,
                    d.node.active = (o & this._awardBin[n]) <= 0;
                    for (var h = t[n], p = 0; p < h.length; p++) {
                        var f = h[p],
                        m = cc.instantiate(this.awardNode);
                        m.active = !0,
                        l.addChild(m);
                        var g = a.
                    default.getInstance().getNameByAwardKind(f.awardId),
                        _ = r.
                    default._instance.DropAward.getSpriteFrame(g),
                        y = 60 / _.getRect().width,
                        v = m.getChildByName("icon");
                        v.scale = y,
                        v.getComponent(cc.Sprite).spriteFrame = _,
                        m.getComponentInChildren(cc.Label).string = f.num
                    }
                }
            },
            e.prototype.setCurSelect = function(t) {
                this._curStage = t.stage,
                this._passLv = t.pass,
                this._curDiff = t.diff
            },
            e.prototype.closeBtnCall = function() {
                n.
            default.getInstance().playButton(),
                c.
            default.getInstance().emit("warInfoControl", {
                    name: "refresh"
                }),
                this.node.getComponent("windowOpenEffect").closePanel()
            },
            e.prototype.getAwardBtnCall = function(t, e) {
                n.
            default.getInstance().playButton();
                var o = this;
                cc.adCtl.testChannel(5) ? o.doGetAward(t.target, e, 1) : s.
            default.getInstance().showVideoToast("\u63d0\u793a", "\u770b\u89c6\u9891\u53cc\u500d\u9886\u53d6\u901a\u5173\u5956\u52b1",
                function() {
                    var o = this;
                    cc.adCtl.showVideo(function(n) {
                        1 == n && o.doGetAward(t.target, e, 2)
                    }),
                    cc.adCtl.umengEvent("home_levelaward")
                },
                function() {
                    o.doGetAward(t.target, e, 1)
                })
            },
            e.prototype.doGetAward = function(t, e, o) {
                var n = s.
            default.getInstance().getData("selfDifficulty"),
                a = (0 == n ? i.passAwardInfo[this._curStage + ""].normal: i.passAwardInfo[this._curStage + ""].hard)[e],
                r = s.
            default.getInstance().getData("selfLevelAward"),
                c = r[n][this._curStage - 1];
                if ((c & this._awardBin[e]) <= 0) {
                    r[n][this._curStage - 1] = c | this._awardBin[e];
                    var l = JSON.parse(JSON.stringify(a));
                    l.forEach(function(t) {
                        t.num *= o
                    }),
                    s.
                default.getInstance().getAwardsByKind(l),
                    t && (t.active = !1)
                }
                s.
            default.getInstance().setData("selfLevelAward", r)
            },
            __decorate([u(cc.ProgressBar)], e.prototype, "awardProgressBar", void 0),
            __decorate([u(cc.Node)], e.prototype, "itemNode", void 0),
            __decorate([u(cc.Node)], e.prototype, "awardNode", void 0),
            __decorate([d], e)
        } (cc.Component);
        o.
    default = h,
        cc._RF.pop()
    },
    {
        "../../control/ResManager": "ResManager",
        "../../data/passAwardConfig": "passAwardConfig",
        "../../utils/AudioMgr": "AudioMgr",
        "../../utils/Emitter": "Emitter",
        "../../utils/GameManager": "GameManager",
        "../../utils/myConfigManager": "myConfigManager"
    }],
    projectileSkill: [function(t, e, o) {
        "use strict";
        cc._RF.push(e, "0feafZYPN5Emr+BSLbz+W0O", "projectileSkill"),
        Object.defineProperty(o, "__esModule", {
            value: !0
        });
        var n = t("../utils/myConfigManager"),
        i = t("../data/enemyInfoEnum"),
        a = t("../utils/Emitter"),
        r = t("./CommonSkill"),
        s = cc._decorator,
        c = s.ccclass,
        l = (s.property,
        function(t) {
            function e() {
                var e = null !== t && t.apply(this, arguments) || this;
                return e.isDartle = !0,
                e._count = 4,
                e._firstPos = null,
                e
            }
            return __extends(e, t),
            e.prototype.onLoad = function() {
                this.initSkill(this)
            },
            e.prototype.doSkill = function(t, e) {
                var o = this;
                return new Promise(function(t) {
                    o._firstPos || (o._firstPos = e);
                    var r = o.node.getPosition(),
                    s = o.node.scaleX > 0 ? 1 : -1,
                    c = e;
                    c.x = o._firstPos.x + (4 - o._count) * s * 200;
                    var l = 20 * Math.random() - 10,
                    d = cc.v2(c.x + l, c.y),
                    u = n.
                default.getInstance().getNameBySkillPrefabKind(o.mySkillprafabSkill);
                    a.
                default.getInstance().emit("launch_Skill", {
                        name: u,
                        startPos: r,
                        toPos: d,
                        maxDis: o.maxTrigger,
                        hit: o.hurtNum,
                        kind: 2
                    }),
                    o._count--,
                    o._count > 0 ? t(i.soldierSkillKind.dartle) : (o._firstPos = null, o._count = 4, t())
                })
            },
            __decorate([c], e)
        } (r.
    default));
        o.
    default = l,
        cc._RF.pop()
    },
    {
        "../data/enemyInfoEnum": "enemyInfoEnum",
        "../utils/Emitter": "Emitter",
        "../utils/myConfigManager": "myConfigManager",
        "./CommonSkill": "CommonSkill"
    }],
    shapeshiftCtl: [function(t, e, o) {
        "use strict";
        cc._RF.push(e, "c98cbKzj3hAZ5XA7vEriTUs", "shapeshiftCtl"),
        Object.defineProperty(o, "__esModule", {
            value: !0
        });
        var n = cc._decorator,
        i = n.ccclass,
        a = n.property,
        r = function(t) {
            function e() {
                var e = null !== t && t.apply(this, arguments) || this;
                return e.shapeshiftNode = null,
                e.curNode = null,
                e.boxCol = null,
                e.shapeshiftActName = "Death_02",
                e
            }
            return __extends(e, t),
            e.prototype.onLoad = function() {
                this.shapeshiftNode.node.active = !0,
                this.curNode.active = !1,
                this.boxCol.enabled = !1,
                this.shapeshiftNode.setAnimation(0, this.shapeshiftActName, !1);
                var t = this;
                this.shapeshiftNode.setCompleteListener(function() {
                    t.shapeshiftNode.node.active = !1,
                    t.curNode.active = !0,
                    t.boxCol.enabled = !0
                })
            },
            e.prototype.start = function() {},
            __decorate([a(sp.Skeleton)], e.prototype, "shapeshiftNode", void 0),
            __decorate([a(cc.Node)], e.prototype, "curNode", void 0),
            __decorate([a(cc.BoxCollider)], e.prototype, "boxCol", void 0),
            __decorate([a], e.prototype, "shapeshiftActName", void 0),
            __decorate([i], e)
        } (cc.Component);
        o.
    default = r,
        cc._RF.pop()
    },
    {}],
    shopConfig: [function(t, e, o) {
        "use strict";
        cc._RF.push(e, "4b18bBvFptBOKWv/zjRr51l", "shopConfig"),
        Object.defineProperty(o, "__esModule", {
            value: !0
        }),
        o.weaponProbability = o.qualityEffect = o.strengthenExpend = o.equipSlotList = o.lotteryInfo2 = o.MysteryKeyInfo = o.awardCardInfo = o.lotteryInfo = o.myAwardEnum = void 0;
        var n, i = t("./weaponConfig"); (function(t) {
            t[t.none = 0] = "none",
            t[t.stone = 1] = "stone",
            t[t.gold = 2] = "gold",
            t[t.power = 3] = "power",
            t[t.weaponReel = 4] = "weaponReel",
            t[t.clothesReel = 5] = "clothesReel",
            t[t.shoeReel = 6] = "shoeReel",
            t[t.glovesReel = 7] = "glovesReel",
            t[t.accessoriesReel = 8] = "accessoriesReel",
            t[t.silverKey = 9] = "silverKey",
            t[t.goldKey = 10] = "goldKey",
            t[t.weapon = 11] = "weapon",
            t[t.clothes = 12] = "clothes",
            t[t.shoe = 13] = "shoe",
            t[t.gloves = 14] = "gloves",
            t[t.accessories = 15] = "accessories",
            t[t.rune = 16] = "rune"
        })(n = o.myAwardEnum || (o.myAwardEnum = {})),
        o.lotteryInfo = [{
            awardId: n.weaponReel,
            num: 12,
            weight: 10
        },
        {
            awardId: n.clothesReel,
            num: 12,
            weight: 10
        },
        {
            awardId: n.stone,
            num: 150,
            weight: 10
        },
        {
            awardId: n.glovesReel,
            num: 12,
            weight: 10
        },
        {
            awardId: n.shoeReel,
            num: 12,
            weight: 10
        },
        {
            awardId: n.gold,
            num: 15e3,
            weight: 10
        },
        {
            awardId: n.accessoriesReel,
            num: 12,
            weight: 10
        },
        {
            awardId: n.stone,
            num: 200,
            weight: 10
        }],
        o.awardCardInfo = [{
            awardId: n.stone,
            num: 100,
            weight: 100
        },
        {
            awardId: n.stone,
            num: 150,
            weight: 50
        },
        {
            awardId: n.stone,
            num: 200,
            weight: 20
        },
        {
            awardId: -1,
            num: 1,
            weight: 30
        },
        {
            awardId: n.rune,
            lv: 5,
            num: 1,
            weight: 40
        },
        {
            awardId: n.rune,
            lv: 6,
            num: 1,
            weight: 30
        },
        {
            awardId: n.rune,
            lv: 7,
            num: 1,
            weight: 20
        }],
        o.MysteryKeyInfo = [{
            awardId: n.goldKey,
            num: 2,
            weight: 5
        },
        {
            awardId: n.goldKey,
            num: 1,
            weight: 15
        },
        {
            awardId: n.silverKey,
            num: 2,
            weight: 30
        },
        {
            awardId: n.silverKey,
            num: 1,
            weight: 50
        }],
        o.lotteryInfo2 = [{
            id: 1,
            awardId: 4,
            des: "\u6b66\u5668\u5f3a\u5316\u5377\u8f74*8",
            num: 8,
            showWeight1: 10,
            showWeight2: 0,
            showWeight3: 10,
            weight: 10
        },
        {
            id: 2,
            awardId: 5,
            des: "\u8863\u670d\u5f3a\u5316\u5377\u8f74*8",
            num: 8,
            showWeight1: 10,
            showWeight2: 0,
            showWeight3: 10,
            weight: 10
        },
        {
            id: 3,
            awardId: 7,
            des: "\u624b\u5957\u5f3a\u5316\u5377\u8f74*8",
            num: 8,
            showWeight1: 10,
            showWeight2: 0,
            showWeight3: 10,
            weight: 10
        },
        {
            id: 4,
            awardId: 6,
            des: "\u978b\u5b50\u5f3a\u5316\u5377\u8f74*8",
            num: 8,
            showWeight1: 10,
            showWeight2: 0,
            showWeight3: 10,
            weight: 10
        },
        {
            id: 5,
            awardId: 8,
            des: "\u914d\u9970\u5f3a\u5316\u5377\u8f74*8",
            num: 8,
            showWeight1: 10,
            showWeight2: 0,
            showWeight3: 10,
            weight: 10
        },
        {
            id: 6,
            awardId: 4,
            des: "\u6b66\u5668\u5f3a\u5316\u5377\u8f74*10",
            num: 10,
            showWeight1: 10,
            showWeight2: 0,
            showWeight3: 0,
            weight: 10
        },
        {
            id: 7,
            awardId: 5,
            des: "\u8863\u670d\u5f3a\u5316\u5377\u8f74*10",
            num: 10,
            showWeight1: 10,
            showWeight2: 0,
            showWeight3: 0,
            weight: 10
        },
        {
            id: 8,
            awardId: 7,
            des: "\u624b\u5957\u5f3a\u5316\u5377\u8f74*10",
            num: 10,
            showWeight1: 10,
            showWeight2: 0,
            showWeight3: 0,
            weight: 10
        },
        {
            id: 9,
            awardId: 6,
            des: "\u978b\u5b50\u5f3a\u5316\u5377\u8f74*10",
            num: 10,
            showWeight1: 10,
            showWeight2: 0,
            showWeight3: 0,
            weight: 10
        },
        {
            id: 10,
            awardId: 8,
            des: "\u914d\u9970\u5f3a\u5316\u5377\u8f74*10",
            num: 10,
            showWeight1: 10,
            showWeight2: 0,
            showWeight3: 10,
            weight: 10
        },
        {
            id: 11,
            awardId: 4,
            des: "\u6b66\u5668\u5f3a\u5316\u5377\u8f74*12",
            num: 12,
            showWeight1: 10,
            showWeight2: 0,
            showWeight3: 0,
            weight: 10
        },
        {
            id: 12,
            awardId: 5,
            des: "\u8863\u670d\u5f3a\u5316\u5377\u8f74*12",
            num: 12,
            showWeight1: 10,
            showWeight2: 0,
            showWeight3: 0,
            weight: 10
        },
        {
            id: 13,
            awardId: 7,
            des: "\u624b\u5957\u5f3a\u5316\u5377\u8f74*12",
            num: 12,
            showWeight1: 10,
            showWeight2: 0,
            showWeight3: 0,
            weight: 10
        },
        {
            id: 14,
            awardId: 6,
            des: "\u978b\u5b50\u5f3a\u5316\u5377\u8f74*12",
            num: 12,
            showWeight1: 10,
            showWeight2: 0,
            showWeight3: 0,
            weight: 10
        },
        {
            id: 15,
            awardId: 8,
            des: "\u914d\u9970\u5f3a\u5316\u5377\u8f74*12",
            num: 12,
            showWeight1: 10,
            showWeight2: 0,
            showWeight3: 0,
            weight: 10
        },
        {
            id: 16,
            awardId: 4,
            des: "\u6b66\u5668\u5f3a\u5316\u5377\u8f74*3",
            num: 3,
            showWeight1: 0,
            showWeight2: 5,
            showWeight3: 0,
            weight: 10
        },
        {
            id: 17,
            awardId: 5,
            des: "\u8863\u670d\u5f3a\u5316\u5377\u8f74*3",
            num: 3,
            showWeight1: 0,
            showWeight2: 5,
            showWeight3: 0,
            weight: 10
        },
        {
            id: 18,
            awardId: 7,
            des: "\u624b\u5957\u5f3a\u5316\u5377\u8f74*3",
            num: 3,
            showWeight1: 0,
            showWeight2: 5,
            showWeight3: 0,
            weight: 10
        },
        {
            id: 19,
            awardId: 6,
            des: "\u978b\u5b50\u5f3a\u5316\u5377\u8f74*3",
            num: 3,
            showWeight1: 0,
            showWeight2: 5,
            showWeight3: 0,
            weight: 10
        },
        {
            id: 20,
            awardId: 8,
            des: "\u914d\u9970\u5f3a\u5316\u5377\u8f74*3",
            num: 3,
            showWeight1: 0,
            showWeight2: 5,
            showWeight3: 0,
            weight: 10
        },
        {
            id: 21,
            awardId: 1,
            des: "50\u94bb",
            num: 50,
            showWeight1: 10,
            showWeight2: 8,
            showWeight3: 10,
            weight: 8
        },
        {
            id: 22,
            awardId: 1,
            des: "100\u94bb",
            num: 100,
            showWeight1: 10,
            showWeight2: 8,
            showWeight3: 10,
            weight: 8
        },
        {
            id: 23,
            awardId: 1,
            des: "150\u94bb",
            num: 150,
            showWeight1: 10,
            showWeight2: 0,
            showWeight3: 10,
            weight: 7
        },
        {
            id: 24,
            awardId: 1,
            des: "200\u94bb",
            num: 200,
            showWeight1: 10,
            showWeight2: 0,
            showWeight3: 10,
            weight: 6
        },
        {
            id: 25,
            awardId: 1,
            des: "300\u94bb",
            num: 300,
            showWeight1: 10,
            showWeight2: 0,
            showWeight3: 10,
            weight: 4
        },
        {
            id: 26,
            awardId: 2,
            des: "2000\u91d1\u5e01",
            num: 2e3,
            showWeight1: 10,
            showWeight2: 10,
            showWeight3: 10,
            weight: 12
        },
        {
            id: 27,
            awardId: 2,
            des: "5000\u91d1\u5e01",
            num: 5e3,
            showWeight1: 10,
            showWeight2: 10,
            showWeight3: 10,
            weight: 12
        },
        {
            id: 28,
            awardId: 2,
            des: "10000\u91d1\u5e01",
            num: 1e4,
            showWeight1: 10,
            showWeight2: 8,
            showWeight3: 10,
            weight: 10
        },
        {
            id: 29,
            awardId: -1,
            des: "\u968f\u673a\u84dd\u8272\u54c1\u8d28\u88c5\u5907",
            num: 1,
            showWeight1: 15,
            showWeight2: 0,
            showWeight3: 15,
            weight: 10
        },
        {
            id: 30,
            awardId: -2,
            des: "\u968f\u673a\u7d2b\u8272\u54c1\u8d28\u88c5\u5907",
            num: 1,
            showWeight1: 15,
            showWeight2: 0,
            showWeight3: 15,
            weight: 4
        },
        {
            id: 31,
            awardId: -3,
            des: "\u968f\u673a\u91d1\u8272\u54c1\u8d28\u88c5\u5907",
            num: 1,
            showWeight1: 20,
            showWeight2: 0,
            showWeight3: 15,
            weight: 2
        },
        {
            id: 32,
            awardId: -4,
            des: "\u968f\u673a\u7ea2\u8272\u54c1\u8d28\u88c5\u5907",
            num: 1,
            showWeight1: 20,
            showWeight2: 0,
            showWeight3: 15,
            weight: 1
        },
        {
            id: 33,
            awardId: 2,
            des: "1000\u91d1\u5e01",
            num: 1e3,
            showWeight1: 0,
            showWeight2: 10,
            showWeight3: 0,
            weight: 10
        },
        {
            id: 34,
            awardId: 2,
            des: "800\u91d1\u5e01",
            num: 800,
            showWeight1: 0,
            showWeight2: 10,
            showWeight3: 0,
            weight: 10
        },
        {
            id: 35,
            awardId: 2,
            des: "3000\u91d1\u5e01",
            num: 3e3,
            showWeight1: 0,
            showWeight2: 10,
            showWeight3: 0,
            weight: 10
        },
        {
            id: 36,
            awardId: 2,
            des: "4000\u91d1\u5e01",
            num: 4e3,
            showWeight1: 0,
            showWeight2: 10,
            showWeight3: 0,
            weight: 10
        }],
        o.equipSlotList = [n.weapon, n.clothes, n.gloves, n.shoe, n.accessories, n.accessories],
        o.strengthenExpend = {
            reel: 2,
            gold: 200,
            proMult: 1.1
        },
        o.qualityEffect = [1, 1.5, 2, 2.5, 3],
        o.weaponProbability = {
            enemy: [{
                item: i.EquipQualityEnum.white,
                rate: 90
            },
            {
                item: i.EquipQualityEnum.green,
                rate: 10
            },
            {
                item: i.EquipQualityEnum.blue,
                rate: 0
            },
            {
                item: i.EquipQualityEnum.purple,
                rate: 0
            },
            {
                item: i.EquipQualityEnum.gold,
                rate: 0
            }],
            boss: [{
                item: i.EquipQualityEnum.white,
                rate: 65
            },
            {
                item: i.EquipQualityEnum.green,
                rate: 30
            },
            {
                item: i.EquipQualityEnum.blue,
                rate: 5
            },
            {
                item: i.EquipQualityEnum.purple,
                rate: 0
            },
            {
                item: i.EquipQualityEnum.gold,
                rate: 0
            }],
            key1: [{
                item: i.EquipQualityEnum.white,
                rate: 64
            },
            {
                item: i.EquipQualityEnum.green,
                rate: 33
            },
            {
                item: i.EquipQualityEnum.blue,
                rate: 3
            },
            {
                item: i.EquipQualityEnum.purple,
                rate: 0
            },
            {
                item: i.EquipQualityEnum.gold,
                rate: 0
            }],
            key2: [{
                item: i.EquipQualityEnum.white,
                rate: 0
            },
            {
                item: i.EquipQualityEnum.green,
                rate: 51
            },
            {
                item: i.EquipQualityEnum.blue,
                rate: 7
            },
            {
                item: i.EquipQualityEnum.purple,
                rate: 2
            },
            {
                item: i.EquipQualityEnum.gold,
                rate: 0
            }]
        },
        cc._RF.pop()
    },
    {
        "./weaponConfig": "weaponConfig"
    }],
    skillBonesEffect: [function(t, e, o) {
        "use strict";
        cc._RF.push(e, "27bc0xrwmpGSr9tih1pXdtl", "skillBonesEffect"),
        Object.defineProperty(o, "__esModule", {
            value: !0
        });
        var n = t("../../utils/AudioMgr"),
        i = t("./SkillBase"),
        a = cc._decorator,
        r = a.ccclass,
        s = a.property,
        c = function(t) {
            function e() {
                var e = null !== t && t.apply(this, arguments) || this;
                return e.isSpine = !1,
                e.animateName = "Sprite",
                e.soundEffect = "boom1",
                e._armatureDisplay = null,
                e
            }
            return __extends(e, t),
            e.prototype.onLoad = function() {
                this.isSpine && (this._armatureDisplay = this.getComponent(dragonBones.ArmatureDisplay), this._armatureDisplay.addEventListener(dragonBones.EventObject.COMPLETE, this._animationEventHandler, this)),
                n.
            default.getInstance().playSFX(this.soundEffect)
            },
            e.prototype.onEnable = function() {
                var t = this;
                this._armatureDisplay ? this._armatureDisplay.playAnimation(this.animateName, 1) : (this._isKeep = !0, cc.tween(this.node).delay(.2).call(function() {
                    t._isKeep = !1,
                    t.doMyClear()
                }).start())
            },
            e.prototype.start = function() {},
            e.prototype._animationEventHandler = function() {
                this.doMyClear()
            },
            __decorate([s], e.prototype, "isSpine", void 0),
            __decorate([s], e.prototype, "animateName", void 0),
            __decorate([s], e.prototype, "soundEffect", void 0),
            __decorate([r], e)
        } (i.
    default);
        o.
    default = c,
        cc._RF.pop()
    },
    {
        "../../utils/AudioMgr": "AudioMgr",
        "./SkillBase": "SkillBase"
    }],
    skillClass: [function(t, e, o) {
        "use strict";
        cc._RF.push(e, "bd6903U+4JIurvk4Ln+txse", "skillClass"),
        Object.defineProperty(o, "__esModule", {
            value: !0
        });
        var n = t("./enemyInfoEnum"),
        i = cc._decorator,
        a = i.ccclass,
        r = i.property,
        s = function() {
            function t() {
                this.skillKind = n.soldierSkillKind.none,
                this.hitRange = 138,
                this.launchTimes = 1,
                this.warningArea = 138,
                this.isUseCommonHit = !1,
                this.isTriggerActAni = !1,
                this.hurtNum = 0,
                this.dropDelay = 1,
                this.minTrigger = 0,
                this.maxTrigger = 1e3,
                this.skillDelayCommon = 300,
                this.skillDelayHard = 300,
                this.mySkillprafabSkill = n.skillPrefabKind.none
            }
            return __decorate([r({
                type: cc.Enum(n.soldierSkillKind)
            })], t.prototype, "skillKind", void 0),
            __decorate([r({
                tooltip: "\u653b\u51fb\u8303\u56f4",
                visible: function() {
                    return this.skillKind == n.soldierSkillKind.jump
                }
            })], t.prototype, "hitRange", void 0),
            __decorate([r({
                tooltip: "\u6bcf\u6b21\u53d1\u5c04\u4e2a\u6570",
                visible: function() {
                    return this.skillKind == n.soldierSkillKind.archers || this.skillKind == n.soldierSkillKind.dropSkill || this.skillKind == n.soldierSkillKind.meteoSkill
                }
            })], t.prototype, "launchTimes", void 0),
            __decorate([r({
                tooltip: "\u8b66\u793a\u533a\u57df",
                visible: function() {
                    return this.skillKind == n.soldierSkillKind.flash || this.skillKind == n.soldierSkillKind.jump
                }
            })], t.prototype, "warningArea", void 0),
            __decorate([r({
                tooltip: "\u662f\u5426\u9002\u7528\u4e8e\u666e\u901a"
            })], t.prototype, "isUseCommonHit", void 0),
            __decorate([r({
                tooltip: "\u662f\u5426\u653b\u51fb\u52a8\u4f5c\u89e6\u53d1\u6280\u80fd"
            })], t.prototype, "isTriggerActAni", void 0),
            __decorate([r({
                tooltip: "\u4f24\u5bb3"
            })], t.prototype, "hurtNum", void 0),
            __decorate([r({
                tooltip: "\u6389\u843d\u95f4\u9694",
                visible: function() {
                    return this.skillKind == n.soldierSkillKind.dropSkill || this.skillKind == n.soldierSkillKind.meteoSkill
                }
            })], t.prototype, "dropDelay", void 0),
            __decorate([r({
                tooltip: "\u6700\u5c0f\u89e6\u53d1\u8ddd\u79bb(\u7edd\u5bf9\u503c)"
            })], t.prototype, "minTrigger", void 0),
            __decorate([r({
                tooltip: "\u6700\u5927\u89e6\u53d1\u8ddd\u79bb(\u7edd\u5bf9\u503c)"
            })], t.prototype, "maxTrigger", void 0),
            __decorate([r({
                tooltip: "\u6280\u80fd\u95f4\u9694 \u666e\u901a(\u5e27)"
            })], t.prototype, "skillDelayCommon", void 0),
            __decorate([r({
                tooltip: "\u6280\u80fd\u95f4\u9694 \u56f0\u96be(\u5e27)"
            })], t.prototype, "skillDelayHard", void 0),
            __decorate([r({
                type: cc.Enum(n.skillPrefabKind),
                tooltip: "\u6280\u80fd\u9884\u5236\u4f53\u7c7b\u578b"
            })], t.prototype, "mySkillprafabSkill", void 0),
            __decorate([a("skillClass")], t)
        } ();
        o.
    default = s,
        cc._RF.pop()
    },
    {
        "./enemyInfoEnum": "enemyInfoEnum"
    }],
    skillGroup: [function(t, e, o) {
        "use strict";
        cc._RF.push(e, "049b02W1fdIvL/aPkuaCwWa", "skillGroup"),
        Object.defineProperty(o, "__esModule", {
            value: !0
        });
        var n = cc._decorator,
        i = n.ccclass,
        a = n.property,
        r = function() {
            function t() {
                this.skillName = "",
                this.times = 1,
                this.isloop = !1
            }
            return __decorate([a()], t.prototype, "skillName", void 0),
            __decorate([a()], t.prototype, "times", void 0),
            __decorate([a()], t.prototype, "isloop", void 0),
            __decorate([i("skillGroup")], t)
        } ();
        o.
    default = r,
        cc._RF.pop()
    },
    {}],
    sl_AngleEffect: [function(t, e, o) {
        "use strict";
        cc._RF.push(e, "eaed22+SfpFvYO2GYMWKnIA", "sl_AngleEffect"),
        Object.defineProperty(o, "__esModule", {
            value: !0
        });
        var n = cc._decorator,
        i = n.ccclass,
        a = (n.property,
        function(t) {
            function e() {
                return null !== t && t.apply(this, arguments) || this
            }
            return __extends(e, t),
            e.prototype.onLoad = function() {
                this.doAction(),
                this.schedule(this.doAction, Math.ceil(5 * Math.random()) + 5)
            },
            e.prototype.start = function() {},
            e.prototype.doAction = function() {
                cc.tween(this.node).to(.1, {
                    angle: 10
                }).to(.1, {
                    angle: 0
                }).to(.1, {
                    angle: -10
                }).to(.1, {
                    angle: 0
                }).union().repeat(3).start()
            },
            __decorate([i], e)
        } (cc.Component));
        o.
    default = a,
        cc._RF.pop()
    },
    {}],
    sl_ScaleEffect: [function(t, e, o) {
        "use strict";
        cc._RF.push(e, "b0922K16m9A8o0BBUZPoR8v", "sl_ScaleEffect"),
        Object.defineProperty(o, "__esModule", {
            value: !0
        });
        var n = cc._decorator,
        i = n.ccclass,
        a = n.property,
        r = function(t) {
            function e() {
                var e = null !== t && t.apply(this, arguments) || this;
                return e.defaultTime = 3,
                e.randTime = 3,
                e._scaleX = 0,
                e._scaleY = 0,
                e
            }
            return __extends(e, t),
            e.prototype.onLoad = function() {
                this._scaleX = this.node.scaleX,
                this._scaleY = this.node.scaleY
            },
            e.prototype.onEnable = function() {
                this.doAction(),
                this.schedule(this.doAction, Math.ceil(Math.random() * this.randTime) + this.defaultTime)
            },
            e.prototype.onDisable = function() {
                this.unschedule(this.doAction)
            },
            e.prototype.doAction = function() {
                this.node.stopAllActions(),
                this.node.runAction(cc.sequence(cc.scaleTo(.1, 1.2 * this._scaleX, 1.2 * this._scaleY), cc.scaleTo(.1, 1.3 * this._scaleX, 1 * this._scaleY), cc.scaleTo(.1, .9 * this._scaleX, .9 * this._scaleY), cc.scaleTo(.1, 1 * this._scaleX, 1 * this._scaleY)))
            },
            __decorate([a], e.prototype, "defaultTime", void 0),
            __decorate([a], e.prototype, "randTime", void 0),
            __decorate([i], e)
        } (cc.Component);
        o.
    default = r,
        cc._RF.pop()
    },
    {}],
    soldier: [function(t, e, o) {
        "use strict";
        cc._RF.push(e, "0c06fAT+G5MyLKyUaGTc4De", "soldier"),
        Object.defineProperty(o, "__esModule", {
            value: !0
        });
        var n = t("./BaseEnemy"),
        i = cc._decorator,
        a = i.ccclass,
        r = (i.property,
        function(t) {
            function e() {
                return null !== t && t.apply(this, arguments) || this
            }
            return __extends(e, t),
            e.prototype.onLoad = function() {
                this.initEnemy()
            },
            e.prototype.update = function() {
                this._isPause || this._updateMyPosition()
            },
            __decorate([a], e)
        } (n.
    default));
        o.
    default = r,
        cc._RF.pop()
    },
    {
        "./BaseEnemy": "BaseEnemy"
    }],
    test001: [function(t, e, o) {
        "use strict";
        cc._RF.push(e, "48659lCp+VORZPZGy8QQj6W", "test001"),
        Object.defineProperty(o, "__esModule", {
            value: !0
        });
        var n = t("../Scripts/data/weaponConfig"),
        i = cc._decorator,
        a = i.ccclass,
        r = i.property,
        s = function(t) {
            function e() {
                var e = null !== t && t.apply(this, arguments) || this;
                return e.actorSpine = null,
                e
            }
            return __extends(e, t),
            e.prototype.onLoad = function() {
                this.refreshSpineWeapon(1)
            },
            e.prototype.refreshSpineWeapon = function(t) {
                for (var e in n.weaponImageInfo) if (Object.prototype.hasOwnProperty.call(n.weaponImageInfo, e)) {
                    var o = n.weaponImageInfo[e];
                    if (e == "" + t) for (var i in o) Object.prototype.hasOwnProperty.call(o, i) && this.actorSpine.setAttachment(i, i);
                    else for (var i in o) Object.prototype.hasOwnProperty.call(o, i) && (cc.sys.os === cc.sys.OS_ANDROID || cc.sys.os === cc.sys.OS_IOS ? this.actorSpine.setAttachment(i, "") : this.actorSpine.setAttachment(i, null))
                }
            },
            e.prototype.start = function() {},
            __decorate([r(sp.Skeleton)], e.prototype, "actorSpine", void 0),
            __decorate([a], e)
        } (cc.Component);
        o.
    default = s,
        cc._RF.pop()
    },
    {
        "../Scripts/data/weaponConfig": "weaponConfig"
    }],
    testManager: [function(t, e, o) {
        "use strict";
        cc._RF.push(e, "dff38q45NxDZroZuYguoWJS", "testManager"),
        Object.defineProperty(o, "__esModule", {
            value: !0
        });
        var n = t("../utils/GameManager"),
        i = t("./MyCameraCtl"),
        a = cc._decorator,
        r = a.ccclass,
        s = a.property,
        c = function(t) {
            function e() {
                var e = null !== t && t.apply(this, arguments) || this;
                return e.myCameraCtl = null,
                e._curBossId = 101,
                e
            }
            return __extends(e, t),
            e.prototype.start = function() {},
            e.prototype.testBtn = function(t, e) {
                if (1 == e) n.
            default.getInstance()._removeTail = !n.
            default.getInstance()._removeTail;
                else if (2 == e) {
                    var o = cc.director.getCollisionManager();
                    o.enabled = !o.enabled
                } else 3 == e ? cc.find("Canvas/EnemyManager").getComponent("EnemyManager").addRandomEnemy() : 4 == e && (cc.find("Canvas/EnemyManager").children.forEach(function(t) {
                    t.destroy()
                }), cc.find("Canvas/EffectManager/fontRoot/hp_enemy").children.forEach(function(t) {
                    t.destroy()
                }), this.myCameraCtl.changeWatchTarget(null), cc.find("Canvas/EnemyManager").getComponent("EnemyManager").loadEnemy(this._curBossId), this._curBossId++)
            },
            __decorate([s({
                type: i.
            default
            })], e.prototype, "myCameraCtl", void 0),
            __decorate([r], e)
        } (cc.Component);
        o.
    default = c,
        cc._RF.pop()
    },
    {
        "../utils/GameManager": "GameManager",
        "./MyCameraCtl": "MyCameraCtl"
    }],
    userAgreementNode: [function(t, e) {
        "use strict";
        cc._RF.push(e, "d477dHTRA9BPIsHOkLp2sdx", "userAgreementNode"),
        cc.Class({
            extends: cc.Component,
            properties: {
                kindNodelist: [cc.Node],
                _kind: 0
            },
            onLoad: function() {
                for (var t = 0; t < this.kindNodelist.length; t++) this.kindNodelist[t].active = this._kind == t
            },
            setKind: function(t) {
                this._kind = t
            },
            onBtnTrue: function() {
                this.node.removeFromParent()
            }
        }),
        cc._RF.pop()
    },
    {}],
    userAgreementToggle: [function(t, e) {
        "use strict";
        cc._RF.push(e, "9e1e1JHtS9Bh5jZfJ1YgTKQ", "userAgreementToggle"),
        cc.Class({
            extends: cc.Component,
            properties: {
                myRootNode: cc.Node,
                jkggNode: cc.Node,
                tipsNode: cc.Node,
                _isAgreement: !1
            },
            start: function() {
                this.scheduleOnce(function() {
                    this.jkggNode.active = !1
                },
                4),
                cc.myAgreeToggle = this,
                t("MyChannelEnum");
                var e = cc.sys.localStorage.getItem("saveAgreeState");
                e && "on" == e && (this.node.getComponent(cc.Toggle).isChecked = !0, this._isAgreement = !0)
            },
            doScaleAct: function() {
                this.tipsNode.stopAllActions(),
                this.tipsNode.runAction(cc.sequence(cc.scaleTo(.5, 1.2), cc.scaleTo(.5, 1)).repeat(3))
            },
            onToggleCall: function(t) {
                this._isAgreement = t.isChecked,
                cc.sys.localStorage.setItem("saveAgreeState", t.isChecked ? "on": "off")
            },
            onTouchInfo: function(t, e) {
                cc.loader.loadRes("plug/agreeInfo",
                function(t, o) {
                    var n = cc.instantiate(o);
                    n.getComponent("userAgreementNode").setKind(parseInt(e)),
                    cc.find("Canvas").addChild(n)
                })
            },
            startBtnCall: function() {
                this._isAgreement ? cc.director.loadScene("StartScene") : this.doScaleAct()
            }
        }),
        cc._RF.pop()
    },
    {
        MyChannelEnum: "MyChannelEnum"
    }],
    videoBtnCtl: [function(t, e, o) {
        "use strict";
        cc._RF.push(e, "2e9e2i/oiJEBIVrFuuSsIDT", "videoBtnCtl"),
        Object.defineProperty(o, "__esModule", {
            value: !0
        });
        var n, i = t("../utils/Emitter"),
        a = t("../utils/GameManager"),
        r = cc._decorator,
        s = r.ccclass,
        c = r.property; (function(t) {
            t[t.freeStone = 0] = "freeStone",
            t[t.freeGold = 1] = "freeGold",
            t[t.share = 2] = "share",
            t[t.lottery = 3] = "lottery",
            t[t.appBoxAd = 4] = "appBoxAd",
            t[t.saveIcon = 5] = "saveIcon",
            t[t.moregamelist = 6] = "moregamelist",
            t[t.shareVideo = 7] = "shareVideo"
        })(n || (n = {}));
        var l = function(t) {
            function e() {
                var e = null !== t && t.apply(this, arguments) || this;
                return e.giftState = n.freeGold,
                e.targetNode = null,
                e._awardNum = 0,
                e
            }
            return __extends(e, t),
            e.prototype.onLoad = function() {
                var t = new cc.Component.EventHandler;
                t.target = this.node,
                t.component = "videoBtnCtl",
                t.handler = "btnCall",
                t.customEventData = "",
                this.targetNode || (this.targetNode = this.node);
                var e = this.targetNode.addComponent(cc.Button);
                e.clickEvents.push(t),
                e.transition = cc.Button.Transition.SCALE
            },
            e.prototype.onEnable = function() {},
            e.prototype.btnCall = function() {
                if (this.giftState == n.freeStone);
                else if (this.giftState == n.lottery);
                else if (this.giftState == n.freeGold) var t = this;
                else this.giftState == n.share ? a.
            default.getInstance().getMyPrefab("viewPrefabs/shareNode").then(function(t) {
                    var e = cc.instantiate(t);
                    cc.find("Canvas").addChild(e)
                }) : this.giftState == n.appBoxAd ? cc.adCtl.moreGame() : this.giftState == n.saveIcon ? (i.
            default.getInstance().emit("showUI", {
                    name: "saveIconNode"
                }), this.targetNode.active = !1) : this.giftState == n.moregamelist || this.giftState == n.shareVideo && (t = this, cc.adCtl.shareRecord(function(e) {
                    1 == e && (t.targetNode.active = !1)
                }))
            },
            __decorate([c({
                type: cc.Enum(n)
            })], e.prototype, "giftState", void 0),
            __decorate([c(cc.Node)], e.prototype, "targetNode", void 0),
            __decorate([s], e)
        } (cc.Component);
        o.
    default = l,
        cc._RF.pop()
    },
    {
        "../utils/Emitter": "Emitter",
        "../utils/GameManager": "GameManager"
    }],
    videoToastNode: [function(t, e, o) {
        "use strict";
        cc._RF.push(e, "e464fOzYkFDuYuUZJaZ2VsL", "videoToastNode"),
        Object.defineProperty(o, "__esModule", {
            value: !0
        });
        var n = t("../utils/AudioMgr"),
        i = cc._decorator,
        a = i.ccclass,
        r = i.property,
        s = function(t) {
            function e() {
                var e = null !== t && t.apply(this, arguments) || this;
                return e.titlelabel = null,
                e.deslabel = null,
                e.rootNode2 = null,
                e._tureCallBack = null,
                e._cancelCallBack = null,
                e
            }
            return __extends(e, t),
            e.prototype.setString = function(t, e) {
                this.titlelabel.string = t,
                this.deslabel.string = e
            },
            e.prototype.setCallBack = function(t, e) {
                this._tureCallBack = t,
                this._cancelCallBack = e
            },
            e.prototype.onLoad = function() {
                n.
            default.getInstance().playSFX("tipsEffect")
            },
            e.prototype.tureBtn = function() {
                n.
            default.getInstance().playButton(),
                this._tureCallBack && this._tureCallBack(),
                this.node.getComponent("windowOpenEffect").closePanel()
            },
            e.prototype.closeBtn = function() {
                n.
            default.getInstance().playButton(),
                this.rootNode2.active = !0
            },
            e.prototype.ture2Btn = function() {
                n.
            default.getInstance().playButton(),
                this._cancelCallBack && this._cancelCallBack(),
                this.node.getComponent("windowOpenEffect").closePanel()
            },
            e.prototype.close2Btn = function() {
                n.
            default.getInstance().playButton(),
                this.rootNode2.active = !1
            },
            __decorate([r(cc.Label)], e.prototype, "titlelabel", void 0),
            __decorate([r(cc.Label)], e.prototype, "deslabel", void 0),
            __decorate([r(cc.Node)], e.prototype, "rootNode2", void 0),
            __decorate([a], e)
        } (cc.Component);
        o.
    default = s,
        cc._RF.pop()
    },
    {
        "../utils/AudioMgr": "AudioMgr"
    }],
    warNode: [function(t, e, o) {
        "use strict";
        cc._RF.push(e, "929c8KtcA5AGbHckJtEdeet", "warNode"),
        Object.defineProperty(o, "__esModule", {
            value: !0
        });
        var n = t("../../utils/GameManager"),
        i = t("../../utils/Emitter"),
        a = t("../../utils/AudioMgr"),
        r = t("../../utils/myConfigManager"),
        s = t("../../data/passAwardConfig"),
        c = t("../TutorialEnum"),
        l = cc._decorator,
        d = l.ccclass,
        u = l.property,
        h = function(t) {
            function e() {
                var e = null !== t && t.apply(this, arguments) || this;
                return e.rootScrollView = null,
                e.lvContentNode = null,
                e.infoNode = null,
                e.loadingNode = null,
                e.moreGameRoot = null,
                e.isUpdateView = !1,
                e._isTouchEnd = !0,
                e._curSelectItem = 0,
                e._curLevelArr = [],
                e._curDifficulty = 0,
                e
            }
            return __extends(e, t),
            e.prototype.onLoad = function() {
                this.rootScrollView.node.on(cc.Node.EventType.TOUCH_START,
                function() {
                    this.isUpdateView = !0,
                    this._isTouchEnd = !1,
                    this.infoNodeAct(!1)
                },
                this, !0),
                this.rootScrollView.node.on(cc.Node.EventType.TOUCH_END,
                function() {
                    this._isTouchEnd = !0
                },
                this, !0),
                this.rootScrollView.node.on(cc.Node.EventType.TOUCH_CANCEL,
                function() {
                    this._isTouchEnd = !0
                },
                this, !0),
                this.schedule(function() {
                    this.isUpdateView && this._isTouchEnd && !this.rootScrollView.isScrolling() && (this._curSelectItem = this.rootScrollView.getCurrentPageIndex(), this.isUpdateView = !1, this.doShowStage())
                },
                .5),
                this.doShowStage(),
                i.
            default.getInstance().on("warInfoControl", this.warInfoControl, this),
                this.scheduleOnce(this.doTutorialStart, .1),
                this.initBtnView()
            },
            e.prototype.onDestroy = function() {
                i.
            default.getInstance().off("warInfoControl", this)
            },
            e.prototype.onEnable = function() {
                this._curDifficulty = n.
            default.getInstance().getData("selfDifficulty"),
                this.checkCurLevel(),
                this.checkLotteryTips(),
                cc.adCtl.setMoreBtnState(!0)
            },
            e.prototype.onDisable = function() {
                cc.adCtl.setMoreBtnState(!1)
            },
            e.prototype.warInfoControl = function(t) {
                "refresh" == t.name ? this.doShowStage() : "refreshBtn" == t.name && this.initBtnView()
            },
            e.prototype.doTutorialStart = function() {
                if (n.
            default.getInstance().getTutorialData(0)) {
                    r.
                default.getInstance().initLevelInfoData(0);
                    var t = cc.instantiate(this.loadingNode);
                    cc.find("Canvas").addChild(t)
                } else n.
            default.getInstance().getTutorialData(c.TutorialEnum.none, c.TutorialEnum.step_to_war1) || (cc.adCtl.testChannel(6), console.log("lj \u6ca1\u843d\u5427"))
            },
            e.prototype.onPageEvent = function(t, e) {
                e == cc.PageView.EventType.PAGE_TURNING && this.upLevelSelect()
            },
            e.prototype.onStartBtn = function() {
                a.
            default.getInstance().playButton();
                var t = n.
            default.getInstance().getData("selfPackCap"),
                e = n.
            default.getInstance().getData("selfEquipList").length;
                if (t[1] <= e) n.
            default.getInstance().showToast("\u88c5\u5907\u7a7a\u95f4\u4e0d\u8db3");
                else {
                    var o = n.
                default.getInstance().getData("selfRuneList").length;
                    if (t[0] <= o) n.
                default.getInstance().showToast("\u7b26\u6587\u7a7a\u95f4\u4e0d\u8db3");
                    else {
                        r.
                    default.getInstance().initLevelInfoData(this._curSelectItem + 1);
                        var i = n.
                    default.getInstance().getData("selfPower");
                        if (i >= 4) {
                            i -= 4,
                            n.
                        default.getInstance().setData("selfPower", i);
                            var s = cc.instantiate(this.loadingNode);
                            cc.find("Canvas").addChild(s),
                            a.
                        default.getInstance().playSFX("enterGame")
                        } else n.
                    default.getInstance().getMyPrefab("viewPrefabs/BuyPowerNode").then(function(t) {
                            var e = cc.instantiate(t);
                            cc.find("Canvas").addChild(e)
                        })
                    }
                }
            },
            e.prototype.onShowPassAward = function() {
                a.
            default.getInstance().playButton(),
                i.
            default.getInstance().emit("showUI", {
                    name: "passaward",
                    stage: this._curSelectItem + 1,
                    pass: this._curLevelArr[this._curSelectItem],
                    diff: 0
                })
            },
            e.prototype.onLotteryBtn = function() {
                a.
            default.getInstance().playButton(),
                cc.find("main_lottery/main_qipao", this.node).active = !1,
                i.
            default.getInstance().emit("showUI", {
                    name: "lottery"
                })
            },
            e.prototype.onFreeGoldBtn = function() {},
            e.prototype.onLoginAwardBtn = function() {
                i.
            default.getInstance().emit("showUI", {
                    name: "loginAward"
                })
            },
            e.prototype.onNoviceAwardBtn = function() {
                i.
            default.getInstance().emit("showUI", {
                    name: "NoviceAward"
                })
            },
            e.prototype.doShowStage = function() {
                this.updateStageInfo(),
                this.upLevelSelect(),
                this.infoNodeAct(!0)
            },
            e.prototype.upLevelSelect = function() {
                var t = this.lvContentNode.parent;
                this.lvContentNode.children.forEach(function(e) {
                    var o = e.convertToWorldSpaceAR(cc.v2()),
                    n = t.convertToNodeSpaceAR(o),
                    i = Math.abs(n.x);
                    e.scale = i < 300 ? cc.misc.lerp(.8, 1.2, (300 - i) / 300) : .8
                })
            },
            e.prototype.infoNodeAct = function(t) {
                this.infoNode.stopAllActions(),
                t ? this._curLevelArr[this._curSelectItem] >= 0 && cc.tween(this.infoNode).to(.2, {
                    opacity: 255,
                    scale: 1
                }).start() : cc.tween(this.infoNode).to(.2, {
                    opacity: 0,
                    scale: .1
                }).start()
            },
            e.prototype.updateStageInfo = function() {
                var t, e = n.
            default.getInstance().getData("selfLevelAward")[this._curDifficulty],
                o = n.
            default.getInstance().getData("selfLevelInfo")[this._curDifficulty],
                i = cc.find("levelAward/awardNum", this.infoNode),
                a = o[this._curSelectItem],
                r = e[this._curSelectItem];
                t = 0 == this._curDifficulty ? s.passAwardInfo[this._curSelectItem + 1 + ""].normal: s.passAwardInfo[this._curSelectItem + 1 + ""].hard;
                var c = {
                    10 : 2,
                    20 : 4,
                    30 : 8,
                    40 : 16,
                    50 : 32
                },
                l = 0;
                for (var d in t) parseInt(d) <= a && (r & c[d]) <= 0 && l++;
                i.getComponent(cc.Label).string = l + ""
            },
            e.prototype.checkCurLevel = function() {
                var t = n.
            default.getInstance().getData("selfLevelInfo")[this._curDifficulty];
                this._curLevelArr = t;
                for (var e = this.lvContentNode.children,
                o = 0,
                i = 0; i < t.length; i++) {
                    var a = t[i],
                    r = e[i].getChildByName("icon").getComponent(cc.Sprite); - 1 == a ? r.setMaterial(0, cc.Material.getBuiltinMaterial("2d-gray-sprite")) : (r.setMaterial(0, cc.Material.getBuiltinMaterial("2d-sprite")), o = i),
                    a < 0 && (a = 0),
                    e[i].getChildByName("curLevel").getComponent(cc.Label).string = a + ""
                }
                this.rootScrollView.scrollToPage(o, 0),
                this._curSelectItem = o,
                this.doShowStage()
            },
            e.prototype.initBtnView = function() {
                var t = cc.sys.localStorage.getItem("end_NoviceAward_count") || 0;
                cc.find("btnLayout/main_noviceAward", this.node).active = t < 4
            },
            e.prototype.checkLotteryTips = function() {
                var t = cc.find("main_lottery/main_qipao", this.node);
                cc.sys.localStorage.getItem("Lottery_day") != (new Date).getDate() && (t.active = !0)
            },
            e.prototype.update = function() {
                this.isUpdateView && this.upLevelSelect()
            },
            __decorate([u(cc.PageView)], e.prototype, "rootScrollView", void 0),
            __decorate([u(cc.Node)], e.prototype, "lvContentNode", void 0),
            __decorate([u(cc.Node)], e.prototype, "infoNode", void 0),
            __decorate([u(cc.Prefab)], e.prototype, "loadingNode", void 0),
            __decorate([u(cc.Node)], e.prototype, "moreGameRoot", void 0),
            __decorate([d], e)
        } (cc.Component);
        o.
    default = h,
        cc._RF.pop()
    },
    {
        "../../data/passAwardConfig": "passAwardConfig",
        "../../utils/AudioMgr": "AudioMgr",
        "../../utils/Emitter": "Emitter",
        "../../utils/GameManager": "GameManager",
        "../../utils/myConfigManager": "myConfigManager",
        "../TutorialEnum": "TutorialEnum"
    }],
    weaponConfig: [function(t, e, o) {
        "use strict";
        var n;
        cc._RF.push(e, "bb3ecZx00ZCKaDMH8cAUU6S", "weaponConfig"),
        Object.defineProperty(o, "__esModule", {
            value: !0
        }),
        o.suitPropertyList = o.ssrPropertyList = o.accessoriesPropertyList = o.shoePropertyList = o.clothesPropertyList = o.glovesPropertyList = o.weaponPropertyList = o.talentPropertyList = o.defaultPropertyList = o.RuneInfoConfig = o.RuneKindEnum = o.EquipPropertyEnum = o.EquipQualityEnum = o.weaponImageInfo = void 0,
        o.weaponImageInfo = {
            1 : {
                weaponR01: "02/U_Assassin_2_weapon01",
                weaponL01: "02/U_Assassin_2_weapon02"
            },
            2 : {
                weaponR02: "02/U_Assassin_5_1_weapon01",
                weaponL02: "02/U_Assassin_5_2_weapon01"
            },
            3 : {
                weaponR03: "02/U_Assassin_6_1_weapon01",
                weaponL03: "02/U_Assassin_6_2_weapon01"
            },
            4 : {
                weaponR04: "02/U_Assassin_3_1_weapon01",
                weaponL04: "02/U_Assassin_3_2"
            },
            5 : {
                weaponR05: "02/U_Assassin_4_1_weapon01",
                weaponL05: "02/U_Assassin_4_2_weapon01"
            }
        },
        function(t) {
            t[t.white = 0] = "white",
            t[t.green = 1] = "green",
            t[t.blue = 2] = "blue",
            t[t.purple = 3] = "purple",
            t[t.gold = 4] = "gold"
        } (o.EquipQualityEnum || (o.EquipQualityEnum = {})),
        function(t) {
            t[t.hurt = 0] = "hurt",
            t[t.hurtPer = 1] = "hurtPer",
            t[t.hp = 2] = "hp",
            t[t.hpPer = 3] = "hpPer",
            t[t.attackSpeedDefault = 4] = "attackSpeedDefault",
            t[t.attackSpeed = 5] = "attackSpeed",
            t[t.critDamage = 6] = "critDamage",
            t[t.critDamageFixed = 7] = "critDamageFixed",
            t[t.critRate = 8] = "critRate",
            t[t.movingSpeed = 9] = "movingSpeed",
            t[t.hurtReduction = 10] = "hurtReduction",
            t[t.fireDamage = 11] = "fireDamage",
            t[t.lightningDamage = 12] = "lightningDamage",
            t[t.frostDamage = 13] = "frostDamage",
            t[t.normalDamage = 14] = "normalDamage",
            t[t.poisonDamage = 15] = "poisonDamage",
            t[t.burnDamage = 16] = "burnDamage",
            t[t.frozenDamage = 17] = "frozenDamage",
            t[t.addMobsDamage = 18] = "addMobsDamage",
            t[t.addBossDamage = 19] = "addBossDamage",
            t[t.addMeleeDamage = 20] = "addMeleeDamage",
            t[t.addRangedDamage = 21] = "addRangedDamage",
            t[t.subMobsDamage = 22] = "subMobsDamage",
            t[t.subBossDamage = 23] = "subBossDamage",
            t[t.subMeleeDamage = 24] = "subMeleeDamage",
            t[t.subRangedDamage = 25] = "subRangedDamage",
            t[t.block = 26] = "block",
            t[t.dodge = 27] = "dodge",
            t[t.suckBlood = 28] = "suckBlood",
            t[t.suckBloodPer = 29] = "suckBloodPer",
            t[t.restoreBlood = 30] = "restoreBlood",
            t[t.onceRestoreBlood = 31] = "onceRestoreBlood",
            t[t.coinDropRate = 32] = "coinDropRate",
            t[t.goodDropsRote = 33] = "goodDropsRote",
            t[t.expUp = 34] = "expUp",
            t[t.onceSuckBlood = 35] = "onceSuckBlood",
            t[t.onceShield = 36] = "onceShield",
            t[t.onceDoge = 37] = "onceDoge",
            t[t.attackedRestore = 38] = "attackedRestore",
            t[t.timesRestore = 39] = "timesRestore",
            t[t.extraDamageBy2 = 40] = "extraDamageBy2",
            t[t.cooldown = 41] = "cooldown",
            t[t.freeOnceDeath = 42] = "freeOnceDeath",
            t[t.buff1 = 43] = "buff1",
            t[t.buff2 = 44] = "buff2",
            t[t.skill1 = 45] = "skill1",
            t[t.skill2 = 46] = "skill2",
            t[t.skill3 = 47] = "skill3",
            t[t.skill4 = 48] = "skill4",
            t[t.skill5 = 49] = "skill5",
            t[t.skill6 = 50] = "skill6",
            t[t.skill7 = 51] = "skill7",
            t[t.skill8 = 52] = "skill8",
            t[t.skill9 = 53] = "skill9",
            t[t.skill10 = 54] = "skill10",
            t[t.skill11 = 55] = "skill11",
            t[t.skill12 = 56] = "skill12",
            t[t.skill13 = 57] = "skill13",
            t[t.skill14 = 58] = "skill14",
            t[t.skill15 = 59] = "skill15",
            t[t.reviveWD = 60] = "reviveWD",
            t[t.skillTempt = 61] = "skillTempt"
        } (n = o.EquipPropertyEnum || (o.EquipPropertyEnum = {})),
        function(t) {
            t[t.red = 0] = "red",
            t[t.green = 1] = "green",
            t[t.blue = 2] = "blue",
            t[t.yellow = 3] = "yellow",
            t[t.purple = 4] = "purple",
            t[t.white = 5] = "white"
        } (o.RuneKindEnum || (o.RuneKindEnum = {})),
        o.RuneInfoConfig = [{
            name: "red",
            proKind: n.hurt,
        default:
            5,
            add: 2,
            maxLv: 18
        },
        {
            name: "green",
            proKind: n.attackSpeed,
        default:
            2,
            add: 2,
            maxLv: 18
        },
        {
            name: "blue",
            proKind: n.hp,
        default:
            10,
            add: 10,
            maxLv: 18
        },
        {
            name: "yellow",
            proKind: n.critRate,
        default:
            .3,
            add: .2,
            maxLv: 18
        },
        {
            name: "purple",
            proKind: n.movingSpeed,
        default:
            .5,
            add: .2,
            maxLv: 18
        },
        {
            name: "gray",
            proKind: n.hurtReduction,
        default:
            3,
            add: 2,
            maxLv: 18
        }],
        o.defaultPropertyList = [{
            kind: n.hurt,
        default:
            25
        },
        {
            kind: n.hp,
        default:
            1e3
        },
        {
            kind: n.attackSpeedDefault,
        default:
            2
        }],
        o.talentPropertyList = [{
            kind: n.hurt,
        default:
            10
        },
        {
            kind: n.hp,
        default:
            10
        },
        {
            kind: n.attackSpeed,
        default:
            1
        },
        {
            kind: n.hurtReduction,
        default:
            20
        },
        {
            kind: n.critRate,
        default:
            .5
        },
        {
            kind: n.onceSuckBlood,
        default:
            20
        },
        {
            kind: n.coinDropRate,
        default:
            1
        }],
        o.weaponPropertyList = [[[{
            kind: n.hurt,
        default:
            11,
            increase: 0
        },
        {
            kind: n.hurt,
        default:
            15,
            increase: 0
        },
        {
            kind: n.hurt,
        default:
            30,
            increase: 0
        },
        {
            kind: n.hurt,
        default:
            20,
            increase: 0
        }], [{
            kind: n.attackSpeedDefault,
        default:
            3.3,
            increase: 0
        },
        {
            kind: n.attackSpeedDefault,
        default:
            2.5,
            increase: 0
        },
        {
            kind: n.attackSpeedDefault,
        default:
            1.3,
            increase: 0
        },
        {
            kind: n.attackSpeedDefault,
        default:
            2,
            increase: 0
        }]], [{
            kind: n.hurtPer,
        default:
            1,
            increase: 5
        }], [{
            kind: n.critDamage,
        default:
            8,
            increase: 15
        },
        {
            kind: n.critRate,
        default:
            5,
            increase: 10
        },
        {
            kind: n.attackSpeed,
        default:
            10,
            increase: 20
        }], [{
            kind: n.fireDamage,
        default:
            10,
            increase: 20
        },
        {
            kind: n.lightningDamage,
        default:
            10,
            increase: 20
        },
        {
            kind: n.frostDamage,
        default:
            10,
            increase: 20
        },
        {
            kind: n.normalDamage,
        default:
            10,
            increase: 20
        }]],
        o.glovesPropertyList = [[[{
            kind: n.critDamageFixed,
        default:
            30,
            increase: 50
        }], [{
            kind: n.addMobsDamage,
        default:
            20,
            increase: 40
        },
        {
            kind: n.addBossDamage,
        default:
            20,
            increase: 40
        },
        {
            kind: n.addMeleeDamage,
        default:
            20,
            increase: 40
        },
        {
            kind: n.addRangedDamage,
        default:
            20,
            increase: 40
        }]], [{
            kind: n.hurtPer,
        default:
            1,
            increase: 5
        }], [{
            kind: n.critDamage,
        default:
            5,
            increase: 10
        },
        {
            kind: n.critRate,
        default:
            5,
            increase: 10
        },
        {
            kind: n.attackSpeed,
        default:
            5,
            increase: 15
        }], [{
            kind: n.critDamage,
        default:
            8,
            increase: 15
        },
        {
            kind: n.critRate,
        default:
            5,
            increase: 10
        },
        {
            kind: n.attackSpeed,
        default:
            10,
            increase: 20
        }]],
        o.clothesPropertyList = [[[{
            kind: n.hp,
        default:
            80,
            increase: 110
        }], [{
            kind: n.subMobsDamage,
        default:
            60,
            increase: 80
        },
        {
            kind: n.subBossDamage,
        default:
            60,
            increase: 80
        },
        {
            kind: n.subMeleeDamage,
        default:
            60,
            increase: 80
        },
        {
            kind: n.subRangedDamage,
        default:
            60,
            increase: 80
        }]], [{
            kind: n.critDamage,
        default:
            1,
            increase: 5
        }], [{
            kind: n.hpPer,
        default:
            5,
            increase: 10
        },
        {
            kind: n.block,
        default:
            1,
            increase: 3
        },
        {
            kind: n.restoreBlood,
        default:
            20,
            increase: 30
        },
        {
            kind: n.hurtReduction,
        default:
            10,
            increase: 20
        },
        {
            kind: n.dodge,
        default:
            1,
            increase: 3
        },
        {
            kind: n.movingSpeed,
        default:
            3,
            increase: 5
        },
        {
            kind: n.critDamage,
        default:
            5,
            increase: 10
        },
        {
            kind: n.critRate,
        default:
            5,
            increase: 10
        },
        {
            kind: n.attackSpeed,
        default:
            5,
            increase: 15
        },
        {
            kind: n.coinDropRate,
        default:
            1,
            increase: 5
        },
        {
            kind: n.goodDropsRote,
        default:
            1,
            increase: 5
        },
        {
            kind: n.expUp,
        default:
            10,
            increase: 20
        }], [{
            kind: n.hpPer,
        default:
            10,
            increase: 15
        },
        {
            kind: n.block,
        default:
            2,
            increase: 5
        },
        {
            kind: n.restoreBlood,
        default:
            20,
            increase: 30
        },
        {
            kind: n.hurtReduction,
        default:
            15,
            increase: 25
        },
        {
            kind: n.dodge,
        default:
            2,
            increase: 5
        },
        {
            kind: n.movingSpeed,
        default:
            5,
            increase: 10
        },
        {
            kind: n.critDamage,
        default:
            10,
            increase: 15
        },
        {
            kind: n.critRate,
        default:
            10,
            increase: 15
        },
        {
            kind: n.attackSpeed,
        default:
            10,
            increase: 20
        },
        {
            kind: n.coinDropRate,
        default:
            5,
            increase: 10
        },
        {
            kind: n.goodDropsRote,
        default:
            5,
            increase: 10
        },
        {
            kind: n.expUp,
        default:
            20,
            increase: 30
        }]],
        o.shoePropertyList = [[[{
            kind: n.movingSpeed,
        default:
            3,
            increase: 5
        }], [{
            kind: n.addMobsDamage,
        default:
            60,
            increase: 80
        },
        {
            kind: n.addBossDamage,
        default:
            60,
            increase: 80
        },
        {
            kind: n.addMeleeDamage,
        default:
            60,
            increase: 80
        },
        {
            kind: n.addRangedDamage,
        default:
            60,
            increase: 80
        }]], [{
            kind: n.critDamage,
        default:
            1,
            increase: 5
        }], [{
            kind: n.hpPer,
        default:
            5,
            increase: 10
        },
        {
            kind: n.block,
        default:
            1,
            increase: 3
        },
        {
            kind: n.restoreBlood,
        default:
            20,
            increase: 30
        },
        {
            kind: n.hurtReduction,
        default:
            10,
            increase: 20
        },
        {
            kind: n.dodge,
        default:
            1,
            increase: 3
        },
        {
            kind: n.movingSpeed,
        default:
            3,
            increase: 5
        },
        {
            kind: n.critDamage,
        default:
            5,
            increase: 10
        },
        {
            kind: n.critRate,
        default:
            5,
            increase: 10
        },
        {
            kind: n.attackSpeed,
        default:
            5,
            increase: 15
        },
        {
            kind: n.coinDropRate,
        default:
            1,
            increase: 5
        },
        {
            kind: n.goodDropsRote,
        default:
            1,
            increase: 5
        },
        {
            kind: n.expUp,
        default:
            10,
            increase: 20
        }], [{
            kind: n.hpPer,
        default:
            10,
            increase: 15
        },
        {
            kind: n.block,
        default:
            2,
            increase: 5
        },
        {
            kind: n.restoreBlood,
        default:
            20,
            increase: 30
        },
        {
            kind: n.hurtReduction,
        default:
            15,
            increase: 25
        },
        {
            kind: n.dodge,
        default:
            2,
            increase: 5
        },
        {
            kind: n.movingSpeed,
        default:
            5,
            increase: 10
        },
        {
            kind: n.critDamage,
        default:
            10,
            increase: 15
        },
        {
            kind: n.critRate,
        default:
            10,
            increase: 15
        },
        {
            kind: n.attackSpeed,
        default:
            10,
            increase: 20
        },
        {
            kind: n.coinDropRate,
        default:
            5,
            increase: 10
        },
        {
            kind: n.goodDropsRote,
        default:
            5,
            increase: 10
        },
        {
            kind: n.expUp,
        default:
            20,
            increase: 30
        }]],
        o.accessoriesPropertyList = [[[{
            kind: n.onceShield,
        default:
            30,
            increase: 40
        },
        {
            kind: n.onceDoge,
        default:
            5,
            increase: 8
        },
        {
            kind: n.extraDamageBy2,
        default:
            10,
            increase: 20
        },
        {
            kind: n.attackedRestore,
        default:
            30,
            increase: 50
        },
        {
            kind: n.timesRestore,
        default:
            15,
            increase: 30
        },
        {
            kind: n.suckBlood,
        default:
            1,
            increase: 2
        }], [{
            kind: n.attackSpeed,
        default:
            5,
            increase: 10
        }]], [{
            kind: n.critRate,
        default:
            1,
            increase: 5
        }], [{
            kind: n.hpPer,
        default:
            5,
            increase: 10
        },
        {
            kind: n.block,
        default:
            1,
            increase: 3
        },
        {
            kind: n.restoreBlood,
        default:
            20,
            increase: 30
        },
        {
            kind: n.hurtReduction,
        default:
            10,
            increase: 20
        },
        {
            kind: n.dodge,
        default:
            1,
            increase: 3
        },
        {
            kind: n.movingSpeed,
        default:
            3,
            increase: 5
        },
        {
            kind: n.critDamage,
        default:
            5,
            increase: 10
        },
        {
            kind: n.critRate,
        default:
            5,
            increase: 10
        },
        {
            kind: n.attackSpeed,
        default:
            5,
            increase: 15
        },
        {
            kind: n.coinDropRate,
        default:
            1,
            increase: 5
        },
        {
            kind: n.goodDropsRote,
        default:
            1,
            increase: 5
        },
        {
            kind: n.expUp,
        default:
            10,
            increase: 20
        }], [{
            kind: n.hpPer,
        default:
            10,
            increase: 15
        },
        {
            kind: n.block,
        default:
            2,
            increase: 5
        },
        {
            kind: n.restoreBlood,
        default:
            20,
            increase: 30
        },
        {
            kind: n.hurtReduction,
        default:
            15,
            increase: 25
        },
        {
            kind: n.dodge,
        default:
            2,
            increase: 5
        },
        {
            kind: n.movingSpeed,
        default:
            5,
            increase: 10
        },
        {
            kind: n.critDamage,
        default:
            10,
            increase: 15
        },
        {
            kind: n.critRate,
        default:
            10,
            increase: 15
        },
        {
            kind: n.attackSpeed,
        default:
            10,
            increase: 20
        },
        {
            kind: n.coinDropRate,
        default:
            5,
            increase: 10
        },
        {
            kind: n.goodDropsRote,
        default:
            5,
            increase: 10
        },
        {
            kind: n.expUp,
        default:
            20,
            increase: 30
        }]],
        o.ssrPropertyList = [{
            kind: n.hpPer,
        default:
            20,
            increase: 0
        },
        {
            kind: n.block,
        default:
            5,
            increase: 0
        },
        {
            kind: n.restoreBlood,
        default:
            40,
            increase: 0
        },
        {
            kind: n.hurtReduction,
        default:
            30,
            increase: 0
        },
        {
            kind: n.dodge,
        default:
            5,
            increase: 0
        },
        {
            kind: n.movingSpeed,
        default:
            10,
            increase: 0
        },
        {
            kind: n.critDamage,
        default:
            30,
            increase: 0
        },
        {
            kind: n.critRate,
        default:
            15,
            increase: 0
        },
        {
            kind: n.attackSpeed,
        default:
            30,
            increase: 0
        },
        {
            kind: n.hurtPer,
        default:
            15,
            increase: 0
        },
        {
            kind: n.cooldown,
        default:
            20,
            increase: 0
        }],
        o.suitPropertyList = [{
            id: 1,
            name: "\u57fa\u8def\u4f2f\u7684\u7948\u7977",
            suitNum: [2, 4],
            effect: [[{
                kind: n.hpPer,
            default:
                10,
                increase: 0
            }], [{
                kind: n.freeOnceDeath,
            default:
                30,
                increase: 0
            }]]
        },
        {
            id: 2,
            name: "\u5e15\u74e6\u65af\u4e4b\u529b",
            suitNum: [2, 4],
            effect: [[{
                kind: n.hurtPer,
            default:
                10,
                increase: 0
            }], [{
                kind: n.buff1,
            default:
                20,
                increase: 0,
                delay: 30,
                continued: 15
            }]]
        },
        {
            id: 3,
            name: "\u6492\u62c9\u5f17\u7684\u5723\u5149",
            suitNum: [2, 4],
            effect: [[{
                kind: n.critDamage,
            default:
                15,
                increase: 0
            }], [{
                kind: n.skill1,
            default:
                300,
                increase: 0,
                delay: 30,
                rate: 1
            }]]
        },
        {
            id: 4,
            name: "\u6258\u7f57\u52aa\u65af\u4e4b\u9668",
            suitNum: [2, 4],
            effect: [[{
                kind: n.critDamage,
            default:
                15,
                increase: 0
            }], [{
                kind: n.skill2,
            default:
                500,
                increase: 0,
                delay: 30,
                rate: 1
            }]]
        },
        {
            id: 5,
            name: "\u536b\u5c14\u7279\u65af\u7684\u6d41\u6c99\u74f6",
            suitNum: [2, 4],
            effect: [[{
                kind: n.buff2,
            default:
                20,
                increase: 0,
                trigger: "shalou"
            }], [{
                kind: n.skill3,
            default:
                0,
                increase: 0,
                delay: 30,
                rate: 1
            }]]
        },
        {
            id: 6,
            name: "\u6258\u7c73\u5c3c\u6069\u65af\u7684\u7b26\u6587",
            suitNum: [2, 4],
            effect: [[{
                kind: n.goodDropsRote,
            default:
                10,
                increase: 0
            }], [{
                kind: n.attackSpeed,
            default:
                10,
                increase: 0
            },
            {
                kind: n.critDamage,
            default:
                5,
                increase: 0
            },
            {
                kind: n.critRate,
            default:
                5,
                increase: 0
            },
            {
                kind: n.hurtPer,
            default:
                5,
                increase: 0
            }]]
        }],
        cc._RF.pop()
    },
    {}],
    windowOpenEffect: [function(t, e, o) {
        "use strict";
        cc._RF.push(e, "e3226HnUh5Mfru/dp5NuQE4", "windowOpenEffect"),
        Object.defineProperty(o, "__esModule", {
            value: !0
        });
        var n = t("../utils/Emitter"),
        i = t("../utils/PopWinManager"),
        a = cc._decorator,
        r = a.ccclass,
        s = a.property,
        c = function(t) {
            function e() {
                var e = null !== t && t.apply(this, arguments) || this;
                return e.rootNode = null,
                e._nextName = "",
                e._doNext = !0,
                e
            }
            return __extends(e, t),
            e.prototype.onLoad = function() {
                this.startFadeIn(),
                cc.adCtl.showNative()
            },
            e.prototype.closePanel = function(t) {
                void 0 === t && (t = !0),
                this._doNext = t,
                this.startFadeOut()
            },
            e.prototype.startFadeIn = function() {
                this.rootNode.setScale(.1),
                this.rootNode.opacity = 0,
                cc.tween(this.rootNode).to(.2, {
                    opacity: 255,
                    scale: 1
                }).start()
            },
            e.prototype.startFadeOut = function() {
                var t = this;
                this.getComponentsInChildren(cc.Button).forEach(function(t) {
                    t.interactable = !1
                }),
                cc.tween(this.rootNode).to(.2, {
                    opacity: 0,
                    scale: 1.2
                }).call(function() {
                    t.onFadeOutFinish()
                }).start()
            },
            e.prototype.onFadeOutFinish = function() {
                this._doNext && i.
            default.getInstance().closeWin(),
                n.
            default.getInstance().emitAndRemove("lotteryRemove", null),
                this.node.removeFromParent(),
                this.node.destroy()
            },
            __decorate([s(cc.Node)], e.prototype, "rootNode", void 0),
            __decorate([r], e)
        } (cc.Component);
        o.
    default = c,
        cc._RF.pop()
    },
    {
        "../utils/Emitter": "Emitter",
        "../utils/PopWinManager": "PopWinManager"
    }],
    wyxTools: [function(t, e, o) {
        "use strict";
        cc._RF.push(e, "4d2c23SCFJOHppQTrUgpde4", "wyxTools"),
        Object.defineProperty(o, "__esModule", {
            value: !0
        });
        var n = cc._decorator,
        i = n.ccclass,
        a = (n.property,
        function() {
            function t() {}
            return t.getIntData = function(t, e) {
                void 0 === e && (e = 0);
                var o = cc.sys.localStorage.getItem(t);
                return o || (o = e),
                parseInt(o)
            },
            t.getStringData = function(t) {
                var e = cc.sys.localStorage.getItem(t);
                return e || (e = ""),
                e
            },
            t.setData = function(t, e) {
                cc.sys.localStorage.setItem(t, e)
            },
            t.remmoveData = function(t) {
                cc.sys.localStorage.removeItem(t)
            },
            __decorate([i], t)
        } ());
        o.
    default = a,
        cc._RF.pop()
    },
    {}]
},
{},
["FullScreenCtl", "userAgreementNode", "userAgreementToggle", "4399AdManager", "BaiduAdManager", "BaseManager", "GameChannelCtl", "GameCtl", "HuaweiAdManager", "InitChannel", "KeyCtl", "MeizuAdManager", "MyAdCtl", "MyChannelEnum", "MyGameEnum", "OppoAdManager", "QQAdManager", "QttAdManager", "ShowBanner", "TTAdManager", "UCAdManager", "VivoAdManager", "WXAdManager", "XiaomiAdManager", "androidManager", "feedbackCtl", "m4399Ctl", "myAdManager", "NativeAdMgr", "delayAdRoot", "videoBtnCtl", "ActorManager", "BgControl", "BgManager", "BulletManager", "DropAwardManager", "EffectManager", "EnemyManager", "GameControl", "MyCameraCtl", "ResManager", "TrailManager", "UIManager", "BulletActor", "BulletArchers", "BulletDrop", "BulletFlyFu", "BulletGhost", "BulletSpin", "BulletTempt", "SkillArrowRain", "SkillBase", "SkillBomber", "SkillCallStone", "SkillCrackHit", "SkillGravityBall", "SkillMine", "SkillPoison", "SkillPoisonRain", "SkillTrap1", "skillBonesEffect", "BaseEnemy", "soldier", "testManager", "enemyInfoEnum", "levelSkillConfig", "passAwardConfig", "shopConfig", "skillClass", "skillGroup", "weaponConfig", "ParticlePool", "ParticleSprite", "ParticleSystem", "AimingSkill", "ArchersHitSkill", "CommonSkill", "CoverHitSkill", "DashSkill", "DirectSkill", "DropSkill", "FixedDirSkill", "FlashSkill", "FollowBallSkill", "JumpHitSkill", "LaserSkill", "MoveSkill", "SprintSkill", "SuitProSkill", "SummonSkill", "TemptSkill", "dartleSkill", "dodgeSkill", "onlyLoadSkill", "projectileSkill", "AudioMgr", "BezierTool", "DowntimeLabel", "Emitter", "GameManager", "PopWinManager", "myConfigManager", "mySkillEnumManager", "wyxTools", "PosAdaptive", "ToastNode", "TutorialEnum", "TutorialView", "DragonBonesEffect", "HourglassEffect", "PauseNode", "ResultNode", "ReviveNode", "aboveBarMgr", "attackWarningMgr", "attackWarningNode", "collisionNode", "customsIcon", "goldFrameNode", "hitBlinkEffect", "iconTrack", "levelSkillSelect", "shapeshiftCtl", "AwardCardItem", "AwardCardNode", "BuyPowerNode", "DelayShow", "EquipInfoNode", "EquipNode", "FullScreenClick", "HomeScene", "LoadingNode", "LoginAward", "LotteryNode", "MysteryKeyBtn", "MysteryKeyNode", "NoviceAward", "RuneNode", "ScrollLabel", "SelectNode", "SettingNode", "ShareNode", "ShopCtlNode", "ShopEquipNode", "ShopRealNode", "ShopRuneNode", "StartScene", "StoryScene", "TelantNode", "TimeCtlBtn", "WarehouseNode", "addGridNode", "awardTipsNode", "coinFly", "commentBtn", "commentNode", "compoundNode", "infoBarNode", "openBoxEffect", "passAwardNode", "GradientEffect", "MyColorEffect", "UISingleEffect", "sl_AngleEffect", "sl_ScaleEffect", "warNode", "myAdaptive", "videoToastNode", "windowOpenEffect", "test001"]);